From 08e5e5e891645592691522d7b443e94be92c774e Mon Sep 17 00:00:00 2001 From: sandeep <8293321+ehsandeep@users.noreply.github.com> Date: Sat, 3 Jul 2021 17:59:27 +0530 Subject: [PATCH] minor update --- .../wifisky/wifisky-default-password.yaml | 22 ++++++++++++------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/default-logins/wifisky/wifisky-default-password.yaml b/default-logins/wifisky/wifisky-default-password.yaml index e005b5cc95..518079ea98 100644 --- a/default-logins/wifisky/wifisky-default-password.yaml +++ b/default-logins/wifisky/wifisky-default-password.yaml @@ -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 \ No newline at end of file