On 6/23/2011 4:23 AM, Fyodor wrote:
Actually, when David said "discovery and safe", that is an exact
argument taken by --script which selects scripts which are in both the
discovery AND safe categories (98 scripts). Your version allows all
scripts which are in either discovery OR the safe categories (158
scripts). And we want to include scripts in the default category too.
So, as shown above, I think we should use:
--script "default or (discovery and safe)"
But I'm not certain that double quotes like that in scan_profile.usp
will be OK. Can you try it out on Linux and Windows and check it in
if it works?
The command line argument works on both Linux and Windows.
However to be certain that the script selection is right, I'm pasting
the list of selected
scripts that result from the command, for review. To me the selection
committing after a second confirmation.
NSE: Loaded 112 scripts for scanning.
NSE: Loaded '/nmap/svn/nmap/scripts/afp-ls.nse'.
NSE: Loaded '/nmap/svn/nmap/scripts/afp-serverinfo.nse'.