Guest

Untitled

By: a guest on Jan 28th, 2012  |  syntax: None  |  size: 11.15 KB  |  hits: 23  |  expires: Never
download  |  raw  |  embed  |  report abuse
Copied
  1. Nmap 5.51 ( http://nmap.org )
  2. Usage: nmap [Scan Type(s)] [Options] {target specification}
  3. TARGET SPECIFICATION:
  4.   Can pass hostnames, IP addresses, networks, etc.
  5.   Ex: scanme.nmap.org, microsoft.com/24, 192.168.0.1; 10.0.0-255.1-254
  6.   -iL <inputfilename>: Input from list of hosts/networks
  7.   -iR <num hosts>: Choose random targets
  8.   --exclude <host1[,host2][,host3],...>: Exclude hosts/networks
  9.   --excludefile <exclude_file>: Exclude list from file
  10. HOST DISCOVERY:
  11.   -sL: List Scan - simply list targets to scan
  12.   -sn: Ping Scan - disable port scan
  13.   -Pn: Treat all hosts as online -- skip host discovery
  14.   -PS/PA/PU/PY[portlist]: TCP SYN/ACK, UDP or SCTP discovery to given ports
  15.   -PE/PP/PM: ICMP echo, timestamp, and netmask request discovery probes
  16.   -PO[protocol list]: IP Protocol Ping
  17.   -n/-R: Never do DNS resolution/Always resolve [default: sometimes]
  18.   --dns-servers <serv1[,serv2],...>: Specify custom DNS servers
  19.   --system-dns: Use OS's DNS resolver
  20.   --traceroute: Trace hop path to each host
  21. SCAN TECHNIQUES:
  22.   -sS/sT/sA/sW/sM: TCP SYN/Connect()/ACK/Window/Maimon scans
  23.   -sU: UDP Scan
  24.   -sN/sF/sX: TCP Null, FIN, and Xmas scans
  25.   --scanflags <flags>: Customize TCP scan flags
  26.   -sI <zombie host[:probeport]>: Idle scan
  27.   -sY/sZ: SCTP INIT/COOKIE-ECHO scans
  28.   -sO: IP protocol scan
  29.   -b <FTP relay host>: FTP bounce scan
  30. PORT SPECIFICATION AND SCAN ORDER:
  31.   -p <port ranges>: Only scan specified ports
  32.     Ex: -p22; -p1-65535; -p U:53,111,137,T:21-25,80,139,8080,S:9
  33.   -F: Fast mode - Scan fewer ports than the default scan
  34.   -r: Scan ports consecutively - don't randomize
  35.   --top-ports <number>: Scan <number> most common ports
  36.   --port-ratio <ratio>: Scan ports more common than <ratio>
  37. SERVICE/VERSION DETECTION:
  38.   -sV: Probe open ports to determine service/version info
  39.   --version-intensity <level>: Set from 0 (light) to 9 (try all probes)
  40.   --version-light: Limit to most likely probes (intensity 2)
  41.   --version-all: Try every single probe (intensity 9)
  42.   --version-trace: Show detailed version scan activity (for debugging)
  43. SCRIPT SCAN:
  44.   -sC: equivalent to --script=default
  45.   --script=<Lua scripts>: <Lua scripts> is a comma separated list of
  46.            directories, script-files or script-categories
  47.   --script-args=<n1=v1,[n2=v2,...]>: provide arguments to scripts
  48.   --script-trace: Show all data sent and received
  49.   --script-updatedb: Update the script database.
  50. OS DETECTION:
  51.   -O: Enable OS detection
  52.   --osscan-limit: Limit OS detection to promising targets
  53.   --osscan-guess: Guess OS more aggressively
  54. TIMING AND PERFORMANCE:
  55.   Options which take <time> are in seconds, or append 'ms' (milliseconds),
  56.   's' (seconds), 'm' (minutes), or 'h' (hours) to the value (e.g. 30m).
  57.   -T<0-5>: Set timing template (higher is faster)
  58.   --min-hostgroup/max-hostgroup <size>: Parallel host scan group sizes
  59.   --min-parallelism/max-parallelism <numprobes>: Probe parallelization
  60.   --min-rtt-timeout/max-rtt-timeout/initial-rtt-timeout <time>: Specifies
  61.       probe round trip time.
  62.   --max-retries <tries>: Caps number of port scan probe retransmissions.
  63.   --host-timeout <time>: Give up on target after this long
  64.   --scan-delay/--max-scan-delay <time>: Adjust delay between probes
  65.   --min-rate <number>: Send packets no slower than <number> per second
  66.   --max-rate <number>: Send packets no faster than <number> per second
  67. FIREWALL/IDS EVASION AND SPOOFING:
  68.   -f; --mtu <val>: fragment packets (optionally w/given MTU)
  69.   -D <decoy1,decoy2[,ME],...>: Cloak a scan with decoys
  70.   -S <IP_Address>: Spoof source address
  71.   -e <iface>: Use specified interface
  72.   -g/--source-port <portnum>: Use given port number
  73.   --data-length <num>: Append random data to sent packets
  74.   --ip-options <options>: Send packets with specified ip options
  75.   --ttl <val>: Set IP time-to-live field
  76.   --spoof-mac <mac address/prefix/vendor name>: Spoof your MAC address
  77.   --badsum: Send packets with a bogus TCP/UDP/SCTP checksum
  78. OUTPUT:
  79.   -oN/-oX/-oS/-oG <file>: Output scan in normal, XML, s|<rIpt kIddi3,
  80.      and Grepable format, respectively, to the given filename.
  81.   -oA <basename>: Output in the three major formats at once
  82.   -v: Increase verbosity level (use -vv or more for greater effect)
  83.   -d: Increase debugging level (use -dd or more for greater effect)
  84.   --reason: Display the reason a port is in a particular state
  85.   --open: Only show open (or possibly open) ports
  86.   --packet-trace: Show all packets sent and received
  87.   --iflist: Print host interfaces and routes (for debugging)
  88.   --log-errors: Log errors/warnings to the normal-format output file
  89.   --append-output: Append to rather than clobber specified output files
  90.   --resume <filename>: Resume an aborted scan
  91.   --stylesheet <path/URL>: XSL stylesheet to transform XML output to HTML
  92.   --webxml: Reference stylesheet from Nmap.Org for more portable XML
  93.   --no-stylesheet: Prevent associating of XSL stylesheet w/XML output
  94. MISC:
  95.   -6: Enable IPv6 scanning
  96.   -A: Enable OS detection, version detection, script scanning, and traceroute
  97.   --datadir <dirname>: Specify custom Nmap data file location
  98.   --send-eth/--send-ip: Send using raw ethernet frames or IP packets
  99.   --privileged: Assume that the user is fully privileged
  100.   --unprivileged: Assume the user lacks raw socket privileges
  101.   -V: Print version number
  102.   -h: Print this help summary page.
  103. EXAMPLES:
  104.   nmap -v -A scanme.nmap.org
  105.   nmap -v -sn 192.168.0.0/16 10.0.0.0/8
  106.   nmap -v -iR 10000 -Pn -p 80
  107. SEE THE MAN PAGE (http://nmap.org/book/man.html) FOR MORE OPTIONS AND EXAMPLES
  108. To run a command as administrator (user "root"), use "sudo <command>".
  109. See "man sudo_root" for details.
  110.  
  111. m4ch1n3@m4ch1n3~$ nmap http://mulitoral.net/web/ -sS -o
  112. nmap: option requires an argument -- 'o'
  113. Nmap 5.51 ( http://nmap.org )
  114. Usage: nmap [Scan Type(s)] [Options] {target specification}
  115. TARGET SPECIFICATION:
  116.   Can pass hostnames, IP addresses, networks, etc.
  117.   Ex: scanme.nmap.org, microsoft.com/24, 192.168.0.1; 10.0.0-255.1-254
  118.   -iL <inputfilename>: Input from list of hosts/networks
  119.   -iR <num hosts>: Choose random targets
  120.   --exclude <host1[,host2][,host3],...>: Exclude hosts/networks
  121.   --excludefile <exclude_file>: Exclude list from file
  122. HOST DISCOVERY:
  123.   -sL: List Scan - simply list targets to scan
  124.   -sn: Ping Scan - disable port scan
  125.   -Pn: Treat all hosts as online -- skip host discovery
  126.   -PS/PA/PU/PY[portlist]: TCP SYN/ACK, UDP or SCTP discovery to given ports
  127.   -PE/PP/PM: ICMP echo, timestamp, and netmask request discovery probes
  128.   -PO[protocol list]: IP Protocol Ping
  129.   -n/-R: Never do DNS resolution/Always resolve [default: sometimes]
  130.   --dns-servers <serv1[,serv2],...>: Specify custom DNS servers
  131.   --system-dns: Use OS's DNS resolver
  132.   --traceroute: Trace hop path to each host
  133. SCAN TECHNIQUES:
  134.   -sS/sT/sA/sW/sM: TCP SYN/Connect()/ACK/Window/Maimon scans
  135.   -sU: UDP Scan
  136.   -sN/sF/sX: TCP Null, FIN, and Xmas scans
  137.   --scanflags <flags>: Customize TCP scan flags
  138.   -sI <zombie host[:probeport]>: Idle scan
  139.   -sY/sZ: SCTP INIT/COOKIE-ECHO scans
  140.   -sO: IP protocol scan
  141.   -b <FTP relay host>: FTP bounce scan
  142. PORT SPECIFICATION AND SCAN ORDER:
  143.   -p <port ranges>: Only scan specified ports
  144.     Ex: -p22; -p1-65535; -p U:53,111,137,T:21-25,80,139,8080,S:9
  145.   -F: Fast mode - Scan fewer ports than the default scan
  146.   -r: Scan ports consecutively - don't randomize
  147.   --top-ports <number>: Scan <number> most common ports
  148.   --port-ratio <ratio>: Scan ports more common than <ratio>
  149. SERVICE/VERSION DETECTION:
  150.   -sV: Probe open ports to determine service/version info
  151.   --version-intensity <level>: Set from 0 (light) to 9 (try all probes)
  152.   --version-light: Limit to most likely probes (intensity 2)
  153.   --version-all: Try every single probe (intensity 9)
  154.   --version-trace: Show detailed version scan activity (for debugging)
  155. SCRIPT SCAN:
  156.   -sC: equivalent to --script=default
  157.   --script=<Lua scripts>: <Lua scripts> is a comma separated list of
  158.            directories, script-files or script-categories
  159.   --script-args=<n1=v1,[n2=v2,...]>: provide arguments to scripts
  160.   --script-trace: Show all data sent and received
  161.   --script-updatedb: Update the script database.
  162. OS DETECTION:
  163.   -O: Enable OS detection
  164.   --osscan-limit: Limit OS detection to promising targets
  165.   --osscan-guess: Guess OS more aggressively
  166. TIMING AND PERFORMANCE:
  167.   Options which take <time> are in seconds, or append 'ms' (milliseconds),
  168.   's' (seconds), 'm' (minutes), or 'h' (hours) to the value (e.g. 30m).
  169.   -T<0-5>: Set timing template (higher is faster)
  170.   --min-hostgroup/max-hostgroup <size>: Parallel host scan group sizes
  171.   --min-parallelism/max-parallelism <numprobes>: Probe parallelization
  172.   --min-rtt-timeout/max-rtt-timeout/initial-rtt-timeout <time>: Specifies
  173.       probe round trip time.
  174.   --max-retries <tries>: Caps number of port scan probe retransmissions.
  175.   --host-timeout <time>: Give up on target after this long
  176.   --scan-delay/--max-scan-delay <time>: Adjust delay between probes
  177.   --min-rate <number>: Send packets no slower than <number> per second
  178.   --max-rate <number>: Send packets no faster than <number> per second
  179. FIREWALL/IDS EVASION AND SPOOFING:
  180.   -f; --mtu <val>: fragment packets (optionally w/given MTU)
  181.   -D <decoy1,decoy2[,ME],...>: Cloak a scan with decoys
  182.   -S <IP_Address>: Spoof source address
  183.   -e <iface>: Use specified interface
  184.   -g/--source-port <portnum>: Use given port number
  185.   --data-length <num>: Append random data to sent packets
  186.   --ip-options <options>: Send packets with specified ip options
  187.   --ttl <val>: Set IP time-to-live field
  188.   --spoof-mac <mac address/prefix/vendor name>: Spoof your MAC address
  189.   --badsum: Send packets with a bogus TCP/UDP/SCTP checksum
  190. OUTPUT:
  191.   -oN/-oX/-oS/-oG <file>: Output scan in normal, XML, s|<rIpt kIddi3,
  192.      and Grepable format, respectively, to the given filename.
  193.   -oA <basename>: Output in the three major formats at once
  194.   -v: Increase verbosity level (use -vv or more for greater effect)
  195.   -d: Increase debugging level (use -dd or more for greater effect)
  196.   --reason: Display the reason a port is in a particular state
  197.   --open: Only show open (or possibly open) ports
  198.   --packet-trace: Show all packets sent and received
  199.   --iflist: Print host interfaces and routes (for debugging)
  200.   --log-errors: Log errors/warnings to the normal-format output file
  201.   --append-output: Append to rather than clobber specified output files
  202.   --resume <filename>: Resume an aborted scan
  203.   --stylesheet <path/URL>: XSL stylesheet to transform XML output to HTML
  204.   --webxml: Reference stylesheet from Nmap.Org for more portable XML
  205.   --no-stylesheet: Prevent associating of XSL stylesheet w/XML output
  206. MISC:
  207.   -6: Enable IPv6 scanning
  208.   -A: Enable OS detection, version detection, script scanning, and traceroute
  209.   --datadir <dirname>: Specify custom Nmap data file location
  210.   --send-eth/--send-ip: Send using raw ethernet frames or IP packets
  211.   --privileged: Assume that the user is fully privileged
  212.   --unprivileged: Assume the user lacks raw socket privileges
  213.   -V: Print version number
  214.   -h: Print this help summary page.
  215. EXAMPLES:
  216.   nmap -v -A scanme.nmap.org
  217.   nmap -v -sn 192.168.0.0/16 10.0.0.0/8
  218.   nmap -v -iR 10000 -Pn -p 80
  219. SEE THE MAN PAGE (http://nmap.org/book/man.html) FOR MORE OPTIONS AND EXAMPLES