Docsity

Nmap Command and Scripting Guide, Exams of Network Analysis

Toggle sidebar
bg1
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}

Partial preview of the text

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. nmap ‐V Version information IPs ‐ 192.168.1.1 192.168.1. nmap ‐‐script‐help