Nmap Development mailing list archives

Re: [nmap-svn] r23421 - nmap/scripts


From: David Fifield <david () bamsoftware com>
Date: Sat, 28 May 2011 16:39:33 -0700

On Sat, May 28, 2011 at 06:38:09PM -0400, Patrick Donnelly wrote:
On Sat, May 28, 2011 at 2:28 PM, Gorjan Petrovski <mogi57 () gmail com> wrote:
Well I was browsing through the NSE section of Fyodor's book, and I
noticed this:
http://nmap.org/book/nse-usage.html#nse-args

especially the part where the script arguments are passed like this:
nmap -sC --script-args
'user=foo,pass=",{}=bar",whois={whodb=nofollow+ripe},userdb=custom'

So I thought that ^ was the right way. I should have consulted nmap-dev I guess.

Which method is preferred?

I prefer being consistent with the Nmap arguments. Putting quotes
around the argument every time may be annoying but the format will be
easier to remember...

So this instead: --script-args 'backorifice-brute.ports="U:1024,31337"'

Okay, that's fine.

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


Current thread: