33 lines
793 B
YAML
33 lines
793 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: 4a0a0047304502200fd3109b341765721cc300a6fc04830ccc8d78a68883b3b08ed48841c3ba1ad3022100a01920ae98b24f8b98962e684308e29f8f3f285540b18504211ad783d94990e4:922c64590222798bb761d5b6d8e72950
|