weak matcher fix

patch-14
splint3r7 2024-11-07 13:27:18 +05:00
parent 8fa75e4c35
commit 80e2d8872e
1 changed files with 8 additions and 8 deletions

View File

@ -27,7 +27,7 @@ http:
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
action=se_save&type=js&data=alert('XSS')
action=se_save&type=js&data=alert("XSS")
matchers:
- type: dsl
@ -40,10 +40,10 @@ http:
- "{{BaseURL}}"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "alert('XSS')"
- type: status
status:
- 200
- type: dsl
dsl:
- 'status_code_2 == 200'
- 'contains(content_type_2, "text/html")'
- 'contains(body_2, "alert(\"XSS\")")'
- 'contains(body_2, "save_edit_js")'
condition: and