Files
nuclei-templates/http/technologies/adfs-detect.yaml
2024-12-01 13:57:55 +00:00

31 lines
789 B
YAML

id: adfs-detect
info:
name: ADFS Detect
author: Adam Crosser,Mys7ic
severity: info
description: Detects ADFS with forms-based authentication enabled.
metadata:
max-request: 1
tags: tech,adfs
http:
- method: GET
path:
- "{{BaseURL}}/adfs/ls/idpinitiatedsignon.aspx"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '/adfs/portal/css/style.css'
extractors:
- type: regex
part: body
name: domain
group: 1
regex:
- 'var\s+userNameValue\s*=\s*''([^\\]*)\\'
# digest: 4b0a00483046022100f602c255d12465bb985166c64fa054827a30a367c0f162b94d2d002c7e2848480221009bd658782c549a99898541673a3b0cd9b79e611158b0611a306a9d83a18ccfcb:922c64590222798bb761d5b6d8e72950