|
Switch
|
Example
|
Description
|
|
nmap 192.168.1.1
|
Scan a single IP
|
|
|
nmap 192.168.1.1-254
|
Scan IP range
|
|
|
nmap 192.168.1.0/24
|
Scan a network
|
|
|
-sV
|
nmap 192.168.1.1 -sV
|
Attempts to determine the version of the service running on port
|
|
-A
|
nmap 192.168.1.1 -A
|
Enables OS detection, version detection, script scanning, and traceroute
|
|
-sT
|
nmap 192.168.1.1 -sT
|
TCP connect port scan (Default without root privilege)
|
|
-sU
|
nmap 192.168.1.1 -sU
|
UDP port scan
|
gobuster dir -u <url> -w <wordlist_file.txt> -x <file_extensions>gobuster vhost -v -w <wordlist.txt> -u <url> -o <output_file.txt>gobuster dns -d <domain> -w <word_list.txt> -issh username@server Ex. ssh root@192.168.1.250find . -name testfind . -perm 664grep "literal_string" filenamecat file | wc -l get number of lines in fileecho 'hello there' > fileNo comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.