python3-nmap
python3-nmap copied to clipboard
Can't exclude a script(s)
I'm trying to run a SSL* related scripts to a host except for ssl-dh-params and ssl-enum-ciphers scripts. I tried with the command below but not working.
nmap = nmap3.NmapScanTechniques()
result_ssl = nmap.nmap_syn_scan(
"10.0.0.1",
args="--script ssl* and not ssl-dh-params,ssl-enum-ciphers --top-ports 1000 -T5",
)
According to Nmap documentation, use not operator to exclude script(s)
nmap --script "(default or safe or intrusive) and not http-*"
> Loads scripts in the default, safe, or intrusive categories, except for those whose names start with http-.
Requesting checking