Nmap Development mailing list archives
Re: [NSE][patch] Load script-args from a file
From: David Fifield <david () bamsoftware com>
Date: Tue, 21 Jun 2011 15:50:54 -0700
On Wed, Jun 15, 2011 at 10:12:02PM -0500, Daniel Miller wrote:
Hey list! Here's a patch to let users specify a file from which to load script-args. Example: $ cat ~/.nmap/myargs smbdomain=WORKGROUP, smbpassword=MyPa$$, $ nmap --script smb-* --script-args file=myargs target.example.com
I think this is a great idea. I agree with Fyodor that it needs to be a separate option. Also, we should treat newline (outside of quotes) the same as commas so that every line doesn't have to end in a comma. We should also decide which side "wins" in case the command line and an args-file specify the same argument. 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:
- [NSE][patch] Load script-args from a file Daniel Miller (Jun 15)
- Re: [NSE][patch] Load script-args from a file Toni Ruottu (Jun 16)
- Re: [NSE][patch] Load script-args from a file Djalal Harouni (Jun 21)
- Re: [NSE][patch] Load script-args from a file David Fifield (Jun 21)
- Re: [NSE][patch] Load script-args from a file Fyodor (Jun 18)
- Re: [NSE][patch] Load script-args from a file Daniel Miller (Jun 18)
- Message not available
- Re: [NSE][patch] Load script-args from a file DePriest, Jason R. (Jun 19)
- Re: [NSE][patch] Load script-args from a file Daniel Miller (Jun 18)
- Re: [NSE][patch] Load script-args from a file Toni Ruottu (Jun 16)
- Re: [NSE][patch] Load script-args from a file David Fifield (Jun 21)
- Re: [NSE][patch] Load script-args from a file Daniel Miller (Jun 21)
- Re: [NSE][patch] Load script-args from a file David Fifield (Jun 21)
- Re: [NSE][patch] Load script-args from a file Patrik Karlsson (Jun 22)
- Re: [NSE][patch] Load script-args from a file Daniel Miller (Jun 21)
