mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 21:36:00 +03:00
50 lines
1.3 KiB
JSON
50 lines
1.3 KiB
JSON
[
|
|
{
|
|
"enabled": 1,
|
|
"version_min": 209000,
|
|
"version_max": -1,
|
|
"title": "Should libmodsec pass action clear m_actions?",
|
|
"url": "https:\/\/github.com\/SpiderLabs\/ModSecurity\/issues\/1152",
|
|
"client": {
|
|
"ip": "200.249.12.31",
|
|
"port": 2313
|
|
},
|
|
"server": {
|
|
"ip": "200.249.12.31",
|
|
"port": 80
|
|
},
|
|
"request": {
|
|
"headers": {
|
|
"Host": "net.tutsplus.com",
|
|
"User-Agent": "",
|
|
"Accept": "text\/html,application\/xhtml+xml,application\/xml;q=0.9,*\/*;q=0.8",
|
|
"Accept-Language": "en-us,en;q=0.5",
|
|
"Accept-Encoding": "gzip,deflate",
|
|
"Accept-Charset": "ISO-8859-1,utf-8;q=0.7,*;q=0.7",
|
|
"Keep-Alive": "300",
|
|
"Connection": "keep-alive",
|
|
"Cookie": "PHPSESSID=r2t5uvjq435r4q7ib3vtdjq120",
|
|
"Pragma": "no-cache",
|
|
"Cache-Control": "no-cache"
|
|
},
|
|
"uri": "\/test.pl?foo=bar",
|
|
"method": "GET",
|
|
"http_version": 1.1,
|
|
"body": ""
|
|
},
|
|
"response": {
|
|
"headers": {
|
|
"Content-Type": "text\/xml; charset=utf-8\n\r",
|
|
"Content-Length": "length\n\r"
|
|
}
|
|
},
|
|
"expected": {
|
|
"http_code": 403
|
|
},
|
|
"rules": [
|
|
"SecRuleEngine On",
|
|
"SecRule REQUEST_HEADERS:User-Agent \"^$\" \"id:'900017',phase:1,t:none,deny,nolog,msg:'foo = bar'\""
|
|
]
|
|
}
|
|
]
|