[ https://www.modsecurity.org/tracker/browse/MODSEC-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Breno Silva Pinto resolved MODSEC-141.
--------------------------------------
Resolution: Fixed
The pattern matching operator now support the syntax:
breno
ry|61|n
|41 42 43 44|
function|28|re|28|s,n,r,b,e|29|
This will make ours operator more powerful.
> Add basic pattern matching to @pm
> ---------------------------------
>
> Key: MODSEC-141
> URL: https://www.modsecurity.org/tracker/browse/MODSEC-141
> Project: ModSecurity
> Issue Type: Improvement
> Security Level: Normal
> Components: Operators
> Reporter: Brian Rectanus
> Assignee: Breno Silva Pinto
> Fix For: 2.6.0
>
>
> The @pm operator needs to be able to handle basic characterset patterns like boundaries, whitespace, alpha, numeric, etc.
> Probably need to be all anchors or 1:1 mappings (ie no variable width patterns like \s+).
> PCRE style character class identifiers should be used (ie \b, \s, \S, etc.)
> Need a way to escape them. (ie \\b)
> Need a way to use non-printable characters (ie \x00) and escape them (ie \\x00)
> Need to be possible:
> - \bword\b
> - \b1.2.3.4.5\b
> - \b1.2.3.
> - \bparam\d
> - \b\d\d\d\d-\d\d\d\d-\d\d\d\d-\d\d\d\d\b
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://www.modsecurity.org/tracker/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|