category
stringclasses
51 values
command
stringlengths
1
755
description
stringlengths
3
70
Screen
Ctrl+a V
Split display vertically
Screen
Ctrl+a Tab
Jump to next display
Screen
Ctrl+a X
Remove current region
Screen
Ctrl+a Q
Remove all regions but current
X11
xwd -display ip:0 -root -out /tmp/test.xpm
Capture remote X11 window to XPM
X11
xwud -in /tmp/test.xpm
Display XPM file
X11
convert /tmp/test.xpm -resize 1280x1024 /tmp/test.jpg
Convert XPM to JPG (1280x1024)
X11
xwd -display 1.1.1.1:0 -root -silent -out x11dump
Capture X11 stream to file
X11
xwudtopnm x11dump
Read X11 dump with xwudtopnm or GIMP
TCPDump
tcpdump -i eth0 -XX -w out.pcap
Capture packets on eth0 in ASCII/hex
TCPDump
tcpdump -i eth0 port 80 and dst 2.2.2.2
Capture HTTP traffic to 2.2.2.2
TCPDump
tcpdump -i eth0 -tttt dst 192.168.1.22 and not net 192.168.1.0/24
Show connections to specific IP
TCPDump
tcpdump -i eth0 'icmp[icmptype] == icmp-echoreply'
Print all ping responses
TCPDump
tcpdump -i eth0 -c 50 -tttt 'udp and port 53'
Capture 50 DNS packets with timestamp
Native Kali Commands
wmis -U DOMAIN\user%password //DC cmd.exe /c command
WMIC equivalent to run command
Native Kali Commands
mount.cifs //ip/share /mnt/share -o user=user,pass=pass,sec=ntlmssp,domain=domain,rw
Mount SMB share to /mnt/share
Native Kali Commands
apt-get update
Update Kali package lists
Native Kali Commands
apt-get upgrade
Upgrade Kali packages
pfSense
pfSsh.php
Access pfSense shell system
pfSense
pfSsh.php playback enableallowallwan
Allow all inbound WAN connections
pfSense
pfSsh.php playback enablesshd
Enable SSH inbound/outbound
pfSense
pfctl -sn
Show NAT rules
pfSense
pfctl -sr
Show filter rules
pfSense
pfctl -sa
Show all rules
pfSense
viconfig
Edit config
pfSense
rm /tmp/config.cache
Remove cached config after editing
pfSense
/etc/rc.reload_all
Reload entire config
Solaris
ifconfig -a
List interfaces
Solaris
netstat -in
List interface details
Solaris
ifconfig -r
Show routing table
Solaris
ifconfig eth0 dhcp
Start DHCP client
Solaris
ifconfig eth0 plumb up ip netmask nmask
Set IP and netmask
Solaris
route add default ip
Set default gateway
Solaris
logins -p
List users without passwords
Solaris
svcs -a
List all services with status
Solaris
prstat -a
Process listing (like top)
Solaris
svcadm start ssh
Start SSH service
Solaris
inetadm -e telnet
Enable telnet (-d to disable)
Solaris
prtconf | grep Memory
Show total physical memory
Solaris
iostat -En
Show hard disk size
Solaris
showrev -c /usr/bin/bash
Show information on a binary
Solaris
shutdown -i6 -g0 -y
Restart system
Solaris
dfmounts
List clients connected to NFS
Solaris
smc
Management GUI
Solaris
snoop -d int -c pkt
Packet capture (-o results.pcap to save)
Solaris
/etc/vfstab
File system mount table
Solaris
/var/adm/loginlog
Login attempt log
Solaris
/etc/default/*
Default settings
Solaris
/etc/system
Kernel modules and config
Solaris
/var/adm/messages
Syslog location
Solaris
/etc/auto_*
Automounter config files
Solaris
/etc/inet/ipnodes
IPv4/IPv6 host files
Windows Versions
Windows NT 3.1
All editions
Windows Versions
Windows NT 3.5
All editions
Windows Versions
Windows NT 3.51
All editions
Windows Versions
Windows NT 4.0
All editions
Windows Versions
Windows 2000
All editions (NT 5.0)
Windows Versions
Windows XP
Home, Pro, MC, Tablet PC, Starter, Embedded (NT 5.1)
Windows Versions
Windows XP 64-bit
64-bit, Pro 64-bit (NT 5.1)
Windows Versions
Windows Server 2003
Standard, Enterprise (NT 5.2)
Windows Versions
Windows Server 2003 R2
Standard, Enterprise (NT 5.2)
Windows Versions
Windows Home Server
Home Server edition (NT 5.2)
Windows Versions
Windows Vista
Starter, Home, Basic, Premium, Business, Enterprise, Ultimate (NT 6.0)
Windows Versions
Windows Server 2008
Foundation, Standard, Enterprise (NT 6.0)
Windows Versions
Windows 7
Starter, Home, Pro, Enterprise, Ultimate (NT 6.1)
Windows Versions
Windows Server 2008 R2
Foundation, Standard, Enterprise (NT 6.1)
Windows Versions
Windows 8
x86/64, Pro, Enterprise, RT (ARM) (NT 6.2)
Windows Versions
Windows Phone 8
Mobile OS (NT 6.2)
Windows Versions
Windows Server 2012
Foundation, Essentials, Standard (NT 6.2)
Windows Versions
Windows 8.1
x86/64, Pro, Enterprise (NT 6.3)
Windows Versions
Windows Server 2012 R2
Foundation, Essentials, Standard (NT 6.3)
Windows Versions
Windows 10
Home, Pro, Enterprise, Education, IoT (NT 10.0)
Windows Versions
Windows Server 2016
Standard, Datacenter, Essentials (NT 10.0)
Windows Versions
Windows Server 2019
Standard, Datacenter, Essentials (NT 10.0)
Windows Versions
Windows 11
Home, Pro, Enterprise, Education (NT 10.0)
Windows Versions
Windows Server 2022
Standard, Datacenter, Essentials (NT 10.0)
Windows Files
%SYSTEMROOT%
Typically C:\Windows
Windows Files
%SYSTEMROOT%\System32\drivers\etc\hosts
DNS entries
Windows Files
%SYSTEMROOT%\System32\drivers\etc\networks
Network settings
Windows Files
%SYSTEMROOT%\System32\config\SAM
User & password hashes
Windows Files
%SYSTEMROOT%\repair\SAM
Backup copy of SAM
Windows Files
%SYSTEMROOT%\System32\config\RegBack\SAM
Backup copy of SAM
Windows Files
%WINDIR%\System32\config\AppEvent.Evt
Application Log
Windows Files
%WINDIR%\System32\config\SecEvent.Evt
Security Log
Windows Files
%ALLUSERSPROFILE%\Start Menu\Programs\Startup
Startup Location (all users)
Windows Files
%USERPROFILE%\Start Menu\Programs\Startup
Startup Location (specific user)
Windows Files
%SYSTEMROOT%\Prefetch
Prefetch dir (EXE logs)
Startup Directories
%SystemDrive%\Windows\Start Menu\Programs\Startup
Windows 9x startup (all users)
Startup Directories
%SystemDrive%\WINNT\Profiles\All Users\Start Menu\Programs\Startup
Windows NT 4.0, 3.51, 3.50 startup (all users)
Startup Directories
%SystemDrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
Windows NT 6.1, 6.0 startup (all users)
Startup Directories
%SystemDrive%\Users\%UserName%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
Windows NT 6.1, 6.0 startup (specific users)
Startup Directories
%SystemDrive%\Documents and Settings\All Users\Start Menu\Programs\Startup
Windows NT 5.2, 5.1, 5.0 startup (all users)
Windows System Info Commands
ver
Get OS version
Windows System Info Commands
sc query state=all
Show services
Windows System Info Commands
tasklist /svc
Show processes & services
Windows System Info Commands
tasklist /m
Show all processes & DLLs
Windows System Info Commands
tasklist /S ip /v
Remote process listing
Windows System Info Commands
taskkill /PID pid /F
Force process to terminate
Windows System Info Commands
systeminfo /S ip /U domain\user /P pwd
Remote system info
Windows System Info Commands
reg query \\ip\RegistryKey\Key /v Value
Query remote registry