Nmap Commands
Nmap Commands
Nmap Commands
1.Scanning an IP
Syntax: nmap <target-ip>
2.Scanning a HOST
Syntax: nmap <www.example.com>
4.Scanning a Subnet
Syntax: nmap <ip-address/24>
20.OS Detection
Syntax: nmap <target-ip> <-O >
21.OS Detection
Syntax: nmap <target-ip> <—max-os-tries>
22.OS Detection
Syntax: nmap <target-ip><—osscan-limit >
23.OS Detection
Syntax: nmap <target-ip><—osscan-guess; —fuzzy >
24.OS Detection
Syntax: nmap <target-ip><—script —smb-os-discovery >
37.Safe Scripts
Syntax: nmap <target-ip><—script=safe,default>
38.Vulnerability Scripts
Syntax: nmap <target-ip><—script=vuln>
39.DOS Scripts
Syntax: nmap <target-ip><—script=dos>
40.Exploit Scripts
Syntax: nmap <target-ip><—script=exploit>
41.Malware Scripts
Syntax: nmap <target-ip><—script=http-malware-host>
42.Intrusive Scripts
Syntax: nmap <target-ip><—script=intrusive>
45.Traceroute Scan
Syntax: nmap <target-ip><—traceroute>
49.Whois Scan
Syntax: nmap <target-ip><—script=whois-ip, whoisdomain>
50.Robots Scan
Syntax: nmap <target-ip><—script=http-robots.txt>
54.Firewalk Scan
Syntax: nmap <target-ip><—script=firewalk —traceroute>
55.Shodan Scan
Syntax: nmap <target-ip><—script=shodan-api>
56.Email Enumeration
Syntax: nmap <target-ip><—script=http-grep>