This repository was archived by the owner on May 14, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-11
lines changed Expand file tree Collapse file tree 2 files changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -133,11 +133,8 @@ SecRule REQUEST_COOKIES|!REQUEST_COOKIES:/__utm/|REQUEST_COOKIES_NAMES|ARGS_NAME
133133# cd util/regexp-assemble
134134# ./regexp-assemble.pl regexp-942170.data
135135# Note that after assemble an outer bracket with an ignore case flag is added
136- # and a \ in front of a ? must be removed from the Regexp::Assemble output.
137- # Example:
138- # Regexp::Assemble output: (?:select|;)\s+(?:benchmark|sleep|if)\s*?\(\s*?\(\?\s*?\w+
139- # Add ignore case bracket with flag and remove a \ in front of the ?:
140- # (?i:(?:select|;)\s+(?:benchmark|sleep|if)\s*?\(\s*?\(?\s*?\w+)
136+ # to the Regexp::Assemble output:
137+ # (?i:ASSEMBLE_OUTPUT)
141138#
142139SecRule REQUEST_COOKIES|!REQUEST_COOKIES:/__utm/|REQUEST_COOKIES_NAMES|ARGS_NAMES|ARGS|XML:/* "@rx (?i:(?:select|;)\s+(?:benchmark|sleep|if)\s*?\(\s*?\(?\s*?\w+)" \
143140 "phase:2,\
Original file line number Diff line number Diff line change 1- select\s+benchmark\s*?\(\s*?\( ?\s*?\w+
2- ;\s+benchmark\s*?\(\s*?\( ?\s*?\w+
3- select\s+if\s*?\(\s*?\( ?\s*?\w+
4- ;\s+if\s*?\(\s*?\( ?\s*?\w+
5- select\s+sleep\s*?\(\s*?\( ?\s*?\w+
6- ;\s+sleep\s*?\(\s*?\( ?\s*?\w+
1+ select\s+benchmark\s*?\(\s*?[(] ?\s*?\w+
2+ ;\s+benchmark\s*?\(\s*?[(] ?\s*?\w+
3+ select\s+if\s*?\(\s*?[(] ?\s*?\w+
4+ ;\s+if\s*?\(\s*?[(] ?\s*?\w+
5+ select\s+sleep\s*?\(\s*?[(] ?\s*?\w+
6+ ;\s+sleep\s*?\(\s*?[(] ?\s*?\w+
You can’t perform that action at this time.
0 commit comments