Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: [NSE][patch] Load script-args from a file
From: Patrik Karlsson <patrik () cqure net>
Date: Thu, 29 Dec 2011 15:07:39 +0100

On Sat, Dec 24, 2011 at 6:49 PM, Daniel Miller <bonsaiviking () gmail com>wrote:

On 12/23/11, Fyodor <fyodor () insecure org> wrote:

Thanks, but did you remember to attach the patch?  I'm not seeing
anything.

Cheers,
Fyodor

Oops! Here it is.

Dan

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


The patch works well for me, although the script-args-file option does not
show up in the usage information.
I guess the printusage function has to be patched, in order to show it.

I read through the whole thread again and Toni brought up some interesting
stuff with being able to use profiles.
Maybe that's something completely different though and I'm not sure how it
would work, but I guess it could be nice to have say a debug profile that
specifies a bunch of debug arguments to nmap and scripts. Another profile
could be os-specific grouping a bunch of typical linux/windows scripts and
their proper arguments together. There could also be a default profile that
always set's a bunch of options.

//Patrik
-- 
Patrik Karlsson
http://www.cqure.net
http://twitter.com/nevdull77
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


  By Date           By Thread  

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