mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-08 19:53:15 +08:00
34 lines
738 B
YAML
34 lines
738 B
YAML
id: basic-auth-detect
|
|
|
|
info:
|
|
name: Basic Auth Detection
|
|
author: w4cky_,bhutch
|
|
severity: info
|
|
metadata:
|
|
max-request: 1
|
|
tags: tech,basic-auth
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 401
|
|
|
|
- type: regex
|
|
regex:
|
|
- "(?i)www-authenticate: basic"
|
|
part: header
|
|
|
|
extractors:
|
|
- type: regex
|
|
part: header
|
|
group: 1
|
|
regex:
|
|
- '(?i)www-authenticate: (basic.*)\r\n'
|
|
|
|
# digest: 4a0a0047304502210092e758850720e58897739f47f9a907633c5c61556342eff79cbddbdc5ba206f602205ca68d04fd3576fca190cabbe15d8f61b837e0cee7ade1c0887d32f1d38aac04:922c64590222798bb761d5b6d8e72950 |