Home page logo
/

nmap-dev logo 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

  By Date           By Thread  

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