2022-11-13 13:41:16 +05:30
|
|
|
id: basic-auth-detect
|
2020-10-13 23:55:28 +05:30
|
|
|
|
|
|
|
|
info:
|
2022-11-13 13:41:16 +05:30
|
|
|
name: Basic Auth Detection
|
2023-12-15 02:11:36 +00:00
|
|
|
author: w4cky_,bhutch
|
2020-10-13 23:55:28 +05:30
|
|
|
severity: info
|
2023-04-28 13:41:21 +05:30
|
|
|
metadata:
|
|
|
|
|
max-request: 1
|
2023-12-20 15:18:31 +05:30
|
|
|
shodan-query: "www-authenticate:"
|
2025-10-17 14:17:02 +02:00
|
|
|
tags: tech,basic,auth,discovery
|
2020-10-13 23:55:28 +05:30
|
|
|
|
2023-04-27 09:58:59 +05:30
|
|
|
http:
|
2020-10-13 23:55:28 +05:30
|
|
|
- method: GET
|
|
|
|
|
path:
|
2021-01-13 13:01:46 +05:30
|
|
|
- "{{BaseURL}}"
|
2020-10-13 23:55:28 +05:30
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
|
matchers:
|
2023-12-15 02:11:36 +00:00
|
|
|
- type: regex
|
2023-12-20 15:18:31 +05:30
|
|
|
part: header
|
2023-12-15 02:11:36 +00:00
|
|
|
regex:
|
|
|
|
|
- "(?i)www-authenticate: basic"
|
2023-12-20 15:18:31 +05:30
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
|
status:
|
|
|
|
|
- 401
|
2023-12-15 02:11:36 +00:00
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
|
- type: regex
|
2020-10-13 23:55:28 +05:30
|
|
|
part: header
|
2023-12-15 02:11:36 +00:00
|
|
|
group: 1
|
|
|
|
|
regex:
|
|
|
|
|
- '(?i)www-authenticate: (basic.*)\r\n'
|
2025-10-26 16:17:34 +00:00
|
|
|
# digest: 4b0a00483046022100c7a7a5e525693a32d3b308765b3078719561bef9a8887896cc79ebd763b4e96a0221008293b3343a90b1c4a806f7a04972cb9cbba4f5b5362f7b3110cf6904230892a5:922c64590222798bb761d5b6d8e72950
|