Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: Script force
From: Patrik Karlsson <patrik () cqure net>
Date: Fri, 16 Dec 2011 21:41:39 +0100

On Tue, Dec 13, 2011 at 10:07 PM, Martin Holst Swende <martin () swende se>wrote:

On 12/11/2011 10:40 PM, Djalal Harouni wrote:
On Sun, Dec 11, 2011 at 08:11:40PM +0100, Martin Holst Swende wrote:
I forgot to add Djalal's error check  for "foo(http-* and safe)". It is
now added.
I also put the code on bitbucket, for your viewing-pleasure. You can
follow the
patches at https://bitbucket.org/holiman/nmap-patches/changesets .
I've made some small cosmetic changes. The patch is attached.
Great! Thanks!
Also attaching the diff from nse_main.lua. I consider this feature
finished.
Please Martin can you add a small note to the scripting.xml file and send
us the diff.

In the:
<sect1 id="nse-usage"> and <title>Usage and Examples</title>: the
feature.

and:
<sect2 id="nse-script-selection"> and <title>Script Selection</title>:
just some examples.

I'd be honored to add to the book! I did my best, not really quite at
home with the formatting options, and I also tried to place the info
where it seemed appropriate, synching with my paperback version, but it
seems a bit outdated now... Attached is a patch. I don't really know how
to, syntactically, define that a plus sign is optional:

<option>--script

<replaceable>filename</replaceable>|<replaceable>category</replaceable>|<replaceable>directory</replaceable>|<replaceable>expression</replaceable>|all<optional>,...</optional></option>

==>

--script <filename>|<category>|<directory>|all

How should it look?
--script (+)<filename>|(+)<category>|(+)<directory>|(+)<expression>|(+)all
??


David the feature is ready to be merged.
+1

Regards,
Martin

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


After discussing this with Fyodor and David I just committed the force
patch as r27505.
I haven't committed the change to the documentation yet and would like
someone more suitable (than me) to look at it before we do. Thanks Martin
and Djalal!

Cheers,
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