Update basic-auth-detect.yaml

patch-1
Ritik Chaddha 2023-12-20 15:18:31 +05:30 committed by GitHub
parent f4e30dbcef
commit 9f5cb9d7b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 7 deletions

View File

@ -6,7 +6,8 @@ info:
severity: info
metadata:
max-request: 1
tags: tech,basic-auth
shodan-query: "www-authenticate:"
tags: tech,basic,auth
http:
- method: GET
@ -15,15 +16,15 @@ http:
matchers-condition: and
matchers:
- type: regex
part: header
regex:
- "(?i)www-authenticate: basic"
- type: status
status:
- 401
- type: regex
regex:
- "(?i)www-authenticate: basic"
part: header
extractors:
- type: regex
part: header
@ -31,4 +32,4 @@ http:
regex:
- '(?i)www-authenticate: (basic.*)\r\n'
# digest: 4a0a0047304502210092e758850720e58897739f47f9a907633c5c61556342eff79cbddbdc5ba206f602205ca68d04fd3576fca190cabbe15d8f61b837e0cee7ade1c0887d32f1d38aac04:922c64590222798bb761d5b6d8e72950
# digest: 4a0a0047304502210092e758850720e58897739f47f9a907633c5c61556342eff79cbddbdc5ba206f602205ca68d04fd3576fca190cabbe15d8f61b837e0cee7ade1c0887d32f1d38aac04:922c64590222798bb761d5b6d8e72950