From 208e8df6c485199f79bc321261cf67ccc42327d7 Mon Sep 17 00:00:00 2001 From: fyodor Date: Sat, 11 Aug 2007 05:32:34 +0000 Subject: [PATCH] merge soc07 r5114 - Update for top-ports, port-ratio, and new -p switch options. --- docs/refguide.xml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/docs/refguide.xml b/docs/refguide.xml index df442f137..3e8ca97c6 100644 --- a/docs/refguide.xml +++ b/docs/refguide.xml @@ -1407,6 +1407,18 @@ way. ). If no protocol qualifier is given, the port numbers are added to all protocol lists. + wildcard + Ports can also be specified by name according to what the + port is referred to in the nmap-services. You + can even use the wildcards * and ? with the names. For example, to scan + ftp and all ports whose names begin with http, use . + Be careful about shell expansions and quote the argument to -p if unsure. + + Ranges of ports can be surrounded by square brackets to indicate + ports inside that range that appear in nmap-services. + For example, the following will scan all ports in nmap-services + equal to or below 1024: . Be careful with shell + expansions and quote the argument to -p if unsure. @@ -1444,6 +1456,27 @@ way. instead. + + + + + + + --port-ratio + Scans all ports in nmap-services file with a ratio greater than the number specified as the argument. (new format nmap-services only.) + + + + + + + + + --top-ports + Scans the N highest-ratio ports found in nmap-services file. (new format nmap-services only.) + + +