Nmap Development mailing list archives

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


From: Patrick Donnelly <batrick () batbytes com>
Date: Sat, 28 May 2011 18:38:09 -0400

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"'

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


Current thread: