Difference between revisions of "Nmap"
Jump to navigation
Jump to search
↑ https://nmap.org/book/nping-man.html
↑ https://www.aldeid.com/wiki/Nping
↑ https://serverfault.com/a/608976
Line 8: | Line 8: | ||
* Basic nmap network scan: <code>nmap -sn 192.168.0.*</code> (-sn - ping scan so No/disable port scan) | * Basic nmap network scan: <code>nmap -sn 192.168.0.*</code> (-sn - ping scan so No/disable port scan) | ||
:<code>-sn: Ping scan so disable port scan</code> | :<code>-sn: Ping scan so disable port scan</code> | ||
+ | |||
+ | * [[OS]] detection: <code>nmap -O IP</code> | ||
== Basic nping commands == | == Basic nping commands == |
Revision as of 12:04, 29 December 2019
Nmap (Network Mapper) is a security scanner that can be used to discover hosts and services on a computer or computer network. Includes at least nmap and nping binaries.
Contents
Basic nmap commands
- Basic nmap host scan:
nmap -nP HOSTNAME_TO_SCAN
nmap -nP HOSTNAME_TO_SCAN -p 80,443
nmap HOSTNAME_TO_SCAN
- Basic nmap network scan:
nmap -sn 192.168.0.*
(-sn - ping scan so No/disable port scan)
-sn: Ping scan so disable port scan
- OS detection:
nmap -O IP
Basic nping commands
nping is packet generation, response analysis and response time measurement available since 2011 and developed by nmap developers
- "TCP ping":
nping -H -tr 8.8.8.8
(-H Hide-sent do not display sent packets, -tr traceroute)
Activities
Basic
- Use nping to execute a "tcp ping": Check TCP connectivity
Advanced
See also
- Wikibooks:Hacking/Tools/Network/Nmap
- Wikipedia:Nmap
- fping
- ncat
- Wireshark
- Port knocking,
fail2ban
[3]fwknop
, DenyHosts - MASSCAN
whois
, IP address,geoiplookup
,ip2location
External Links
- Nmap map page: https://linux.die.net/man/1/nmap
- Official
nmap
manual
Advertising: