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:
{{lowercase}}
+
<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|nmap]]'''</code> ([[1997]]) (''Network Mapper'') is a security [[Network scanner|scanner]] developed by [[Gordon Lyon]] 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.
 
  
 
== 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 HOSTNAME_OR_NET_TO_SCAN</code>
+
**<code>nmap -Pn HOSTNAME_TO_SCAN</code>
**<code>nmap -Pn HOSTNAME_OR_NET_TO_SCAN -p 80,443</code>
+
**<code>nmap -Pn HOSTNAME_TO_SCAN -p 80,443</code>
-Pn (No ping), do not verify is host is up
 
 
 
 
 
 
 
 
 
**Scan all [[port]]s (1 – 65535)
 
*** <code>nmap -p- 192.168.0.1</code>
 
 
**<code>nmap HOSTNAME_TO_SCAN</code>
 
**<code>nmap HOSTNAME_TO_SCAN</code>
  
 +
* 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>
  
* Network scan:
+
* [[OS]] detection: <code>nmap -O IP</code>
**<code>nmap -sn 192.168.0.*</code> (-sn - [[ping]] scan so No/disable [[port scan]])
+
* -sP TODO
:::<code>-sn: [[Ping]] scan so disable port scan</code>
 
 
 
 
 
* [[OS]] detection:
 
::<code>nmap -O IP</code>
 
  
 
*<code>nmap -A IPAddress</code> equivalent to <code>nmap -sV -sC -O -traceroute IPaddress</code>
 
*<code>nmap -A IPAddress</code> equivalent to <code>nmap -sV -sC -O -traceroute IPaddress</code>
Line 45: Line 34:
 
::<code>nmap -p- 192.168.0.1</code>
 
::<code>nmap -p- 192.168.0.1</code>
  
*To scan using [[TCP connect]]
+
*To scan using TCP connect
::<code>nmap -sT 192.168.0.1</code>
+
::<code>nmap –sT 192.168.0.1</code>
  
*To perform the default [[SYN]] scan
+
*To perform the default SYN scan
::<code>nmap -sS 192.168.0.1</code>
+
::<code>nmap –sS 192.168.0.1</code>
  
*The nmap utility can be used to detect the [[operating system]] of a particular target
+
*The nmap utility can be used to detect the operating system of a particular target
::<code>[[nmap -A]] 192.168.0.1</code>
+
::<code>nmap –A 192.168.0.1</code>
  
 
==Banner Grabbing==
 
==Banner Grabbing==
* <code>-sV</code>: Probe open ports to determine service/version info
 
  
* <code>nmap -sV --version-intensity 5 xxxxxx.com -p 80</code>
+
<code>nmap -sV --version-intensity 5 xxxxxx.com -p 80</code>
  
 
The <code>-sV</code> option lets us fetch the software versions, and by adding <code>--version-intensity 5</code>, we can get the maximum number of possible details about the remote running software.
 
The <code>-sV</code> option lets us fetch the software versions, and by adding <code>--version-intensity 5</code>, we can get the maximum number of possible details about the remote running software.
Line 63: Line 51:
 
By using the powerful NSE we can also try other scripts that will help us fetch remote banners easily:
 
By using the powerful NSE we can also try other scripts that will help us fetch remote banners easily:
  
* <code>nmap -sV --script=banner IP</code>
+
<code>nmap -sV --script=banner IP</code>
  
 
== Activities ==
 
== Activities ==
Line 71: Line 59:
 
=== Advanced ===
 
=== Advanced ===
 
# Read [[nmap Changelog]]: https://nmap.org/changelog.html
 
# Read [[nmap Changelog]]: https://nmap.org/changelog.html
 
== Related ==
 
* [[Idle scan]]
 
* [[sslcan]]
 
  
 
==See also==
 
==See also==
 
* {{nmap}}
 
* {{nmap}}
* {{Security tools}}
 
 
* [[Wikibooks:Hacking/Tools/Network/Nmap]]
 
* [[Wikibooks:Hacking/Tools/Network/Nmap]]
 
* {{ping}}
 
* {{ping}}

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: