From b58913befa0df9e5dcee1a864075192633a24842 Mon Sep 17 00:00:00 2001 From: jay Date: Fri, 8 Aug 2014 13:27:35 +0000 Subject: [PATCH] Document --exclude-ports --- docs/refguide.xml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/docs/refguide.xml b/docs/refguide.xml index d31cce66f..80d072a9b 100644 --- a/docs/refguide.xml +++ b/docs/refguide.xml @@ -1776,6 +1776,26 @@ way. + + + (Exclude the specified ports from scanning) + + + + + This option specifies which ports you do want Nmap to exclude + from scanning. The port ranges + are specified similar to . For IP protocol + scanning (), this option specifies the protocol + numbers you wish to exclude (0–255). + + When ports are asked to be excluded, they are excluded from all + types of scans (i.e. they will not be scanned under any circumstances). + This also includes the discovery phase. + + + + (Fast (limited port) scan) @@ -1836,7 +1856,8 @@ way. --top-ports Scans the n highest-ratio ports - found in nmap-services file. + found in nmap-services file after excluding all + ports specified by . n must be 1 or greater.