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,26 +6,32 @@ info:
severity: high
requests:
- method: POST
path:
- "{{BaseURL}}/login.php?action=login&type=admin"
body: |
username=admin&password=admin
- raw:
- |
POST /login.php?action=login&type=admin HTTP/1.1
Host: {{Hostname}}
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:
- type: word
words:
- "Content-Type: text/html"
- "text/html"
part: header
- type: word
words:
- '"success":'
- '"success":"true"'
- '"data":'
part: body
condition: and
- type: status
status:
- 200
- 200