Nmap Development mailing list archives
Re: Boolean Operators for --script (again)
From: Patrick Donnelly <batrick () batbytes com>
Date: Sat, 11 Apr 2009 03:13:21 -0600
Here's an updated draft of the Augmented BNF syntax for the boolean
--script rules to allow parenthesis to enforce operator associations.
I've also attached an updated patch (hopefully the last one).
====
; Note string literals in ABNF are case-insensitive
ruleset = rule *("," rule)
rule = exp / ("(" exp ")")
exp = "nil" / "false" / "true" / name / rule binop rule / unop rule
binop = "and" / "or"
unop = "not"
name = %x21-%x27 /
%x2A-%x2B /
%x2D-%x3A /
%x3C-%x7E ; All visible characteres except ',', '(', ')', and ';'
====
--
-Patrick Donnelly
"One of the lessons of history is that nothing is often a good thing
to do and always a clever thing to say."
-Will Durant
Attachment:
bool4.patch
Description:
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- Re: Boolean Operators for --script (again), (continued)
- Re: Boolean Operators for --script (again) David Fifield (Apr 07)
- Re: Boolean Operators for --script (again) Kris Katterjohn (Apr 07)
- Re: Boolean Operators for --script (again) jah (Apr 08)
- Re: Boolean Operators for --script (again) Patrick Donnelly (Apr 08)
- Re: Boolean Operators for --script (again) Patrick Donnelly (Apr 08)
- Re: Boolean Operators for --script (again) Patrick Donnelly (Apr 09)
- Re: Boolean Operators for --script (again) Patrick Donnelly (Apr 09)
- Re: Boolean Operators for --script (again) Patrick Donnelly (Apr 11)
- Re: Boolean Operators for --script (again) David Fifield (Apr 24)
- Re: Boolean Operators for --script (again) Patrick Donnelly (Apr 27)
- Re: Boolean Operators for --script (again) David Fifield (Apr 27)
- Re: Boolean Operators for --script (again) Patrick Donnelly (Apr 28)
- Re: Boolean Operators for --script (again) David Fifield (Apr 29)
- Re: Boolean Operators for --script (again) Patrick Donnelly (Apr 29)
