Nmap Scripts

Find Script

Find script related to a service your interested in, example here is ftp

locate .nse | grep [port name]

Example: 
locate .nse | grep ftp
ls /usr/share/nmap/scripts | grep smb

Typically NSE scripts that scans for vulnerabilities are at

ls -l /usr/share/nmap/scripts/
  • you can use this scripts with --script=<ScriptName> ,

  • it also support wildcard entries

Help manual for scripts

What does a script do?

nmap --script-help [script name]

Example:
nmap --script-help ftp-anon

Vulnerability Scanning

Default vulnerabilities Scanning nmap scripts:

Scan With All Scripts

Scan a target using all NSE scripts.

May take an hour to complete.

Scan with particular Script

Scan entire network with script

Last updated