10000 Cleaned up quoting in tests for 920120 by theseion · Pull Request #2370 · coreruleset/coreruleset · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Cleaned up quoting in tests for 920120 #2370

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 37 additions & 37 deletions tests/regression/tests/REQUEST-920-PROTOCOL-ENFORCEMENT/920120.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ tests:
----------397236876--
protocol: "http"
output:
log_contains: "id \"920120\""
log_contains: id "920120"
- test_title: 920120-2
desc: Attempted multipart/form-data bypass (920120) from old modsec regressions
stages:
- stage:
input:
dest_addr: 127.0.0.1
headers:
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
Accept-Encoding: gzip, deflate
Accept-Language: en-us,en;q=0.5
Connection: keep-alive
Expand All @@ -46,7 +46,7 @@ tests:
Keep-Alive: '300'
Proxy-Connection: keep-alive
Referer: http
User-Agent: ModSecurity CRS 3 Tests
User-Agent: "ModSecurity CRS 3 Tests"
method: POST
port: 80
uri: /cgi-bin/fup.cgi
Expand All @@ -72,15 +72,15 @@ tests:
input:
dest_addr: 127.0.0.1
headers:
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept-Language: en-us,en;q=0.5
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Host: localhost
Keep-Alive: '300'
Proxy-Connection: keep-alive
Referer: http
User-Agent: ModSecurity CRS 3 Tests
User-Agent: "ModSecurity CRS 3 Tests"
method: POST
port: 80
uri: /
Expand Down Expand Up @@ -113,7 +113,7 @@ tests:
User-Agent: "ModSecurity CRS 3 Tests"
Host: "localhost"
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
method: POST
port: 80
uri: /
Expand All @@ -136,7 +136,7 @@ tests:
User-Agent: "ModSecurity CRS 3 Tests"
Host: "localhost"
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
method: POST
port: 80
uri: /
Expand All @@ -159,7 +159,7 @@ tests:
User-Agent: "ModSecurity CRS 3 Tests"
Host: "localhost"
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
method: POST
port: 80
uri: /
Expand All @@ -182,7 +182,7 @@ tests:
User-Agent: "ModSecurity CRS 3 Tests"
Host: "localhost"
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
method: POST
port: 80
uri: /
Expand All @@ -205,7 +205,7 @@ tests:
User-Agent: "ModSecurity CRS 3 Tests"
Host: "localhost"
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
method: POST
port: 80
uri: /
Expand All @@ -228,7 +228,7 @@ tests:
User-Agent: "ModSecurity CRS 3 Tests"
Host: "localhost"
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
method: POST
port: 80
uri: /
Expand All @@ -251,7 +251,7 @@ tests:
User-Agent: "ModSecurity CRS 3 Tests"
Host: "localhost"
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
method: POST
port: 80
uri: /
Expand All @@ -274,7 +274,7 @@ tests:
User-Agent: "ModSecurity CRS 3 Tests"
Host: "localhost"
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
method: POST
port: 80
uri: /
Expand All @@ -297,7 +297,7 @@ tests:
User-Agent: "ModSecurity CRS 3 Tests"
Host: "localhost"
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
method: POST
port: 80
uri: /
Expand All @@ -320,7 +320,7 @@ tests:
User-Agent: "ModSecurity CRS 3 Tests"
Host: "localhost"
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
method: POST
port: 80
uri: /
Expand All @@ -343,7 +343,7 @@ tests:
User-Agent: "ModSecurity CRS 3 Tests"
Host: "localhost"
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
method: POST
port: 80
uri: /
Expand All @@ -366,7 +366,7 @@ tests:
User-Agent: "ModSecurity CRS 3 Tests"
Host: "localhost"
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
method: POST
port: 80
uri: /
Expand All @@ -389,7 +389,7 @@ tests:
User-Agent: "ModSecurity CRS 3 Tests"
Host: "localhost"
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
method: POST
port: 80
uri: /
Expand All @@ -412,7 +412,7 @@ tests:
User-Agent: "ModSecurity CRS 3 Tests"
Host: "localhost"
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
method: POST
port: 80
uri: /
Expand All @@ -435,7 +435,7 @@ tests:
User-Agent: "ModSecurity CRS 3 Tests"
Host: "localhost"
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
method: POST
port: 80
uri: /
Expand All @@ -458,7 +458,7 @@ tests:
User-Agent: "ModSecurity CRS 3 Tests"
Host: "localhost"
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
method: POST
port: 80
uri: /
Expand All @@ -481,7 +481,7 @@ tests:
User-Agent: "ModSecurity CRS 3 Tests"
Host: "localhost"
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
method: POST
port: 80
uri: /
Expand All @@ -504,7 +504,7 @@ tests:
User-Agent: "ModSecurity CRS 3 Tests"
Host: "localhost"
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
method: POST
port: 80
uri: /
Expand All @@ -527,7 +527,7 @@ tests:
User-Agent: "ModSecurity CRS 3 Tests"
Host: "localhost"
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
method: POST
port: 80
uri: /
Expand All @@ -550,7 +550,7 @@ tests:
User-Agent: "ModSecurity CRS 3 Tests"
Host: "localhost"
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
method: POST
port: 80
uri: /
Expand All @@ -573,7 +573,7 @@ tests:
User-Agent: "ModSecurity CRS 3 Tests"
Host: "localhost"
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
method: POST
port: 80
uri: /
Expand All @@ -596,7 +596,7 @@ tests:
User-Agent: "ModSecurity CRS 3 Tests"
Host: "localhost"
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
method: POST
port: 80
uri: /
Expand All @@ -619,7 +619,7 @@ tests:
User-Agent: "ModSecurity CRS 3 Tests"
Host: "localhost"
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
method: POST
port: 80
uri: /
Expand All @@ -642,7 +642,7 @@ tests:
User-Agent: "ModSecurity CRS 3 Tests"
Host: "localhost"
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
method: POST
port: 80
uri: /
Expand All @@ -665,7 +665,7 @@ tests:
User-Agent: "ModSecurity CRS 3 Tests"
Host: "localhost"
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
method: POST
port: 80
uri: /
Expand All @@ -688,7 +688,7 @@ tests:
User-Agent: "ModSecurity CRS 3 Tests"
Host: "localhost"
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
method: POST
port: 80
uri: /
Expand All @@ -711,7 +711,7 @@ tests:
User-Agent: "ModSecurity CRS 3 Tests"
Host: "localhost"
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
method: POST
port: 80
uri: /
Expand All @@ -734,7 +734,7 @@ tests:
User-Agent: "ModSecurity CRS 3 Tests"
Host: "localhost"
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
method: POST
port: 80
uri: /
Expand All @@ -757,7 +757,7 @@ tests:
User-Agent: "ModSecurity CRS 3 Tests"
Host: "localhost"
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
method: POST
port: 80
uri: /
Expand All @@ -780,7 +780,7 @@ tests:
User-Agent: "ModSecurity CRS 3 Tests"
Host: "localhost"
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
method: POST
port: 80
uri: /
Expand All @@ -803,7 +803,7 @@ tests:
User-Agent: "ModSecurity CRS 3 Tests"
Host: "localhost"
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
method: POST
port: 80
uri: /
Expand All @@ -826,7 +826,7 @@ tests:
User-Agent: "ModSecurity CRS 3 Tests"
Host: "localhost"
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
method: POST
port: 80
uri: /
Expand Down
0