mailing list archives
Override port rule for a script from the command line?
From: Marcus Haebler <haebler () gmail com>
Date: Mon, 13 Jun 2011 16:04:46 -0400
is there a general way to override the portrule setting in a script
from the nmap command line? I was trying to run ssl-enum-ciphers
on TCP port 80 because someone put an HTTPS server there.
Unfortunately, the script has a port rule of:
portrule = shortport.ssl
That seems to make it impossible to get the ciphers enumerated with
Nmap unless I either change the script - make portrule more general
like all TCP or add a script specific parameter - or have a general
way to override the portrule line.
The latter does not seem to exist or I did not see the forest for the trees.
Sent through the nmap-dev mailing list
Archived at http://seclists.org/nmap-dev/
- Override port rule for a script from the command line? Marcus Haebler (Jun 13)