Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: Script Arguments and IDs
From: Kris Katterjohn <katterjohn () gmail com>
Date: Sun, 01 Jun 2008 23:54:53 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Patrick Donnelly wrote:
On Sun, Jun 1, 2008 at 6:41 PM, Kris Katterjohn <katterjohn () gmail com> wrote:
However, many scripts have IDs which don't allow for this "scoping".  This can
be caused by a space (e.g. "SSH Protocol Version 1") or hyphen (e.g.
"zone-transfer") in the script id.

You can get around that by doing this:

--script-args 'user=foo,pass=bar,["zone-transfer"]={pass="barbar"}'


D'oh!

Cheers,


Thanks,
Kris Katterjohn

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIVAwUBSEN9Gv9K37xXYl36AQJoohAAuSHseqex6vgOC6r38JiYWrZDtxQn6TAV
+mv/g705sqhvLS5EiUB9mqq/vLR12ncsZxGIxxYiUgCH+TAdKU/BKpAHIOS2md3V
RGhkMP33io+KIjCgwtcDndxFiOuwTduua0FxGBiaeJaV0Xwgi7bB+VkLPsYqABiZ
Gn5LZkpxJwwSzzlKYnuUjzK5Z2e0RmauaqTISgIwffnbPsqi33PBQdezoii7MSPW
xg1BKyVRP5/Kg3wsOSG/6Uy1voD5ZT30Wabx6fNc6ghEzjiz/kfeYUtENpGciRe0
dFvyTjfdbnrTL39lTRuTqvZ8MryJb4kap8ukppzbTiSMkRhrYbxTLNg+iwKWblHM
nWiSN8JtliG6r8KyuNtkZjcGqTCdLcjuZE1FmjDUOvWmgXPlErm6W8c+H99lyl0H
HxCpIyQgAFYfuod+WXB+BpU/XCvpUVWJwNaJ2LsX3g8EP0M+3ADGgUzM0P6Pbb2t
7J2tgh35oodXZNkDmASxeq3+b/9G74jWhql5a8tOrQ6p5XSXz1dF3cIylCRDUwMd
3HKfYt7/a9/0VJREm1+bVTNwNJzcLHSweW0HGJj44StvQA1XQrqo7jUZ7q+HN0Mk
pOqbbwxpaBK4sTQWICyb296yCxX2xWxpQHkKBSuQ2OblaqZNUosS8SIATBSPpgfu
MfOLC6S7zJg=
=Cs/c
-----END PGP SIGNATURE-----

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


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]