nuclei-templates/http/technologies/basic-auth-detect.yaml

34 lines
775 B
YAML
Raw Normal View History

id: basic-auth-detect
info:
name: Basic Auth Detection
2023-12-15 02:11:36 +00:00
author: w4cky_,bhutch
severity: info
metadata:
max-request: 1
2023-12-20 09:48:31 +00:00
shodan-query: "www-authenticate:"
tags: tech,basic,auth
http:
- method: GET
path:
2021-01-13 07:31:46 +00:00
- "{{BaseURL}}"
matchers-condition: and
matchers:
2023-12-15 02:11:36 +00:00
- type: regex
2023-12-20 09:48:31 +00:00
part: header
2023-12-15 02:11:36 +00:00
regex:
- "(?i)www-authenticate: basic"
2023-12-20 09:48:31 +00:00
- type: status
status:
- 401
2023-12-15 02:11:36 +00:00
extractors:
- type: regex
part: header
2023-12-15 02:11:36 +00:00
group: 1
regex:
- '(?i)www-authenticate: (basic.*)\r\n'
# digest: 4a0a004730450220102b932513cab57316c355c8cba748801af973344f41ab47c477be2fad15d751022100af4bbcb624f60eb8f6329727902f6a8cfe211154ace1c4f911197065db76eeeb:922c64590222798bb761d5b6d8e72950