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.) + + +