minor update

patch-1
sandeep 2021-07-03 17:59:27 +05:30
parent dc7c403129
commit 08e5e5e891
1 changed files with 14 additions and 8 deletions

View File

@ -6,23 +6,29 @@ info:
severity: high severity: high
requests: requests:
- method: POST - raw:
path: - |
- "{{BaseURL}}/login.php?action=login&type=admin" POST /login.php?action=login&type=admin HTTP/1.1
body: | Host: {{Hostname}}
username=admin&password=admin Accept: */*
X-Requested-With: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Connection: close
username=admin&password=admin
matchers-condition: and matchers-condition: and
matchers: matchers:
- type: word - type: word
words: words:
- "Content-Type: text/html" - "text/html"
part: header part: header
- type: word - type: word
words: words:
- '"success":' - '"success":"true"'
- '"data":'
part: body part: body
condition: and condition: and