cheat-fork-echo/cheatsheets/nmap

34 lines
543 B
Plaintext
Raw Normal View History

# Single target scan:
2013-08-14 07:41:17 +02:00
nmap [target]
# Scan from a list of targets:
2013-08-14 07:41:17 +02:00
nmap -iL [list.txt]
# iPv6:
2013-08-14 07:41:17 +02:00
nmap -6 [target]
# OS detection:
2013-08-14 07:41:17 +02:00
nmap -O [target]
# Save output to text file:
2013-08-14 07:41:17 +02:00
nmap -oN [output.txt] [target]
# Save output to xml file:
2013-08-14 07:41:17 +02:00
nmap -oX [output.xml] [target]
# Scan a specific port:
2013-08-14 07:41:17 +02:00
nmap -source-port [port] [target]
# Do an aggressive scan:
2013-08-14 07:41:17 +02:00
nmap -A [target]
# Traceroute:
2013-08-14 07:41:17 +02:00
nmap -traceroute [target]
# Ping scan only: -sP
# Don't ping: -PN
# TCP SYN ping: -PS
# TCP ACK ping: -PA
# UDP ping: -PU
# ARP ping: -PR