Nmap CheatSheat
Nmap CheatSheat
Scan Type
-sP : ping scan
-sS : syn scan
-sT : connect scan
-sU : udp scan
-sO : protocol scan
Option
-p <port> :: specific/range ports
-n :: no dns resolution
-O :: OS detection
-sV :: version detection
-PN :: no ping
-6 :: ipv6 scan
Output/Input
-oX file ::xml file
-oG file :: grep file
-oA file :: all 3 format
Decoy IP and Spoofing
For x in {1β¦10000..1};do nmap -T5 -sX -S sp-source-IP -D comma-seperated with no space list of decoy IPs --spoof-mac aa:bb:cc:dd:ee:ff - e etho0 -Pn targeted-IP;done
Last updated