python3-nmap icon indicating copy to clipboard operation
python3-nmap copied to clipboard

Can't exclude a script(s)

Open javelineou opened this issue 2 years ago • 1 comments

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

javelineou avatar Oct 24 '23 02:10 javelineou

Requesting checking

nmmapper avatar Nov 14 '23 16:11 nmmapper