Editing Nmap
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | + | <code>'''[[wikipedia:Nmap|Nmap]]'''</code> (''Network Mapper'') is a security [[Network scanner|scanner]] that can be used to discover [[Host (network)|hosts]] and [[Web service|services]] on a computer or [[computer network]]. Includes at least nmap and nping binaries. | |
− | <code>'''[[wikipedia:Nmap| | ||
== Installation == | == Installation == | ||
Line 9: | Line 8: | ||
* Basic nmap [[port]] scan (not all ports are scanned): | * Basic nmap [[port]] scan (not all ports are scanned): | ||
− | **<code>nmap -Pn | + | **<code>nmap -Pn HOSTNAME_TO_SCAN</code> |
− | **<code>nmap -Pn | + | **<code>nmap -Pn HOSTNAME_TO_SCAN -p 80,443</code> |
− | |||
− | |||
− | |||
− | |||
− | |||
**Scan all [[port]]s (1 – 65535) | **Scan all [[port]]s (1 – 65535) | ||
*** <code>nmap -p- 192.168.0.1</code> | *** <code>nmap -p- 192.168.0.1</code> | ||
Line 23: | Line 17: | ||
* Network scan: | * Network scan: | ||
**<code>nmap -sn 192.168.0.*</code> (-sn - [[ping]] scan so No/disable [[port scan]]) | **<code>nmap -sn 192.168.0.*</code> (-sn - [[ping]] scan so No/disable [[port scan]]) | ||
− | :::<code>-sn: | + | :::<code>-sn: Ping scan so disable port scan</code> |
Line 46: | Line 40: | ||
*To scan using [[TCP connect]] | *To scan using [[TCP connect]] | ||
− | ::<code>nmap | + | ::<code>nmap –sT 192.168.0.1</code> |
*To perform the default [[SYN]] scan | *To perform the default [[SYN]] scan | ||
− | ::<code>nmap | + | ::<code>nmap –sS 192.168.0.1</code> |
− | *The nmap utility can be used to detect the | + | *The nmap utility can be used to detect the operating system of a particular target |
− | ::<code> | + | ::<code>nmap –A 192.168.0.1</code> |
==Banner Grabbing== | ==Banner Grabbing== | ||
Line 71: | Line 65: | ||
=== Advanced === | === Advanced === | ||
# Read [[nmap Changelog]]: https://nmap.org/changelog.html | # Read [[nmap Changelog]]: https://nmap.org/changelog.html | ||
− | |||
− | |||
− | |||
− | |||
==See also== | ==See also== |
Advertising: