Nmap Development mailing list archives

Re: Script force


From: Martin Holst Swende <martin () swende se>
Date: Tue, 13 Dec 2011 22:07:29 +0100

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

Attachment: scripting-patch
Description:

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

Current thread: