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