Nmap Development mailing list archives

Re: nmap command line to execute the nse script only


From: David Fifield <david () bamsoftware com>
Date: Thu, 28 Aug 2008 16:32:14 -0600

On Fri, Aug 29, 2008 at 12:26:45AM +0200, Vlatko Kosturjak wrote:
I'm just reading book chapter about NSE:
http://nmap.org/book/nse.html

I'm looking for a command line to execute the script only and exit.
I did not find anything except this:
nmap -sP --script script.nse ip

You could perhaps just scan the few ports you care about:

nmap --script=anonFTP -p ftp ip

Look at the portrule of each script to find out what ports it looks at.

David Fifield

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: