Nmap Development mailing list archives
Re: Re: Error when running nmap
From: Daniel Miller <bonsaiviking () gmail com>
Date: Sat, 1 Nov 2014 13:25:20 -0500
Jo, Windows quoting works a little differently. I don't completely understand the rules, but essentially, single-quotes don't do what you expect. Here's how to do it correctly: nmap --script http-virustotal --script-args "http-virustotal.apikey=""example"",http-virustotal.checksum=""12345""" Generally: 1. Use "double quotes" around the entire argument to the --script-args option. I prefer to use a space between the option and its arguments. 2. For any quotes within the argument, use """doubled"" double quotes". Dan On Sat, Nov 1, 2014 at 8:31 AM, Jo Avaran <avaran () bluemail ch> wrote:
Hi Dan nmap --script http-virustotal --script-args='http-virustotal.apikey="b315ef2a2bae16915a6cf187844b4686301314a148e5d380616a16246ffd8c30",http-virustotal.checksum="c22a25b289141e13d8fa8af"' but still the same error. Hence I found out that on Ubuntu it is working fine but not on Windows :-\ ----Ursprüngliche Nachricht---- Von : bonsaiviking () gmail com Datum : 01/11/2014 - 13:58 (GMT) An : avaran () bluemail ch Cc : dev () nmap org Betreff : Re: Error when running nmap Jo, Thanks for pointing this out. Our documentation was incorrect on this script; the script-args should all be prepended with the name of the script. Here's your updated example: nmap --script http-virustotal --script-args='http-virustotal.apikey="example",http-virustotal.checksum="12345"' Dan
_______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Error when running nmap Jo Avaran (Nov 01)
- Re: Error when running nmap Daniel Miller (Nov 01)
- Re: Error when running nmap Paulino Calderon (Nov 03)
- Re: Re: Error when running nmap Jo Avaran (Nov 03)
- Re: Re: Error when running nmap Daniel Miller (Nov 01)
- Re: Re: Re: Error when running nmap Jo Avaran (Nov 03)
- Re: Re: Re: Error when running nmap Daniel Miller (Nov 01)
- Re: Re: Re: Re: Error when running nmap Jo Avaran (Nov 03)
- Re: Error when running nmap Daniel Miller (Nov 01)