Download Nmap Command and Scripting Guide and more Exams Network Analysis in PDF only on Docsity! Help Target nmap {target} All OS Host name â  FILESERVER nmap Help FQDN â scanme.nmap.org nmap âh Same as above IP â 192.168.1.1 nmap âV Version information IPs â 192.168.1.1 192.168.1.2 nmap ââscriptâhelp <script name> Range â 192.168.1.1â50 Linux/Unix CIDR â 192.168.1.1/24 man nmap nmap Man Page DNS CIDR â nmap.org/24 man zenmap Zenmap Man Page Ports nmap âp Scan Techniques nmap âp 80 nmap âsS TCP SYN port scan (Default) nmap âp 21â3389 nmap âsT TCP Fullâconnect port scan nmap âsU âp 1â1000 nmap âsU UDP port scan nmap âsS âsU âp T:21â25,80,U:53â389 nmap âsO IP Protocol scan nmap âF Host Discovery Service/Version Detection nmap â sL List scan. Reverse DNS lookup. nmap âsV App & Service Versions nmap âsn Ping scan/sweep.  Doesn't scan ports. nmap âA Aggressive / Advanced nmap âPn No ping scan.  Only scans ports. nmap ââversionâintensity <level> OS Discovery Output (e.g. nmap âoN <filename>) nmap âO Basic operating system discovery nmap âoN Normal output to file nmap âO ââosscanâguess Will guess, Gives % certainty nmap âoX XML output to file nmap ââscript smbâhostâdiscovery nmap âoG Grepable output to file nmap âoA Three output formats NSE Script Scans (located in Nmap directory \scripts) nmap âv More detail nmap âsC Scans with all scripts labeled default nmap âd Debugging information nmap ââscript <category> nmap ââscript <script name> Misc. Options & IDS/Firewall Evasion â6 IPv6 scanning (put first) Timing and Performance (time in ms, s, h) âD <decoy> Decoy cloaking nmap âT0 Paranoid.  IDS evasion, very slow. âf <val> Fragment packets nmap âT1 Sneaky. IDS evasion, slow. âS <ip> Spoof source nmap âT2 Polite. Use if machines or network slow âg <#> Use source port nmap âT3 Default.  If using, just leave off. nmap âT4 Aggressive.  Fast, assumes fast network nmap âT5 Insane.  Very fast, less accurate results nmap ââhostâtimeout <time> Give up on target after this amount of time nmap ââscanâdelay <time> Adjust delay between probes nmap ââminârate <# packets> Send packets no slower than this per second Nmap Basics â One Page Cheat Sheet Nmap Command Format:  nmap [Scan Type(s)] [Options] {target} Nmap Script Scan Format:  nmap ââscript [Script(s) Name] {target}