matcher improvements

patch-1
sandeep 2021-11-13 14:30:52 +05:30
parent 7fed80aa86
commit 5b66093b49
2 changed files with 24 additions and 34 deletions

View File

@ -1,34 +0,0 @@
id: ms-active-directory-certificate-services-detect
info:
name: MS Active Directory Certificate Services Detector
author: divya_mudgal
severity: info
tags: ms,panel
requests:
- method: GET
path:
- "{{BaseURL}}"
redirects: true
max-redirects: 2
matchers-condition: and
matchers:
- type: status
status:
- 302
- 301
condition: or
- type: word
words:
- "/certsrv"
- "/certsrv/"
- "/certsrv/Default.asp"
- "/CertSrv"
- "/CertSrv/"
- "/CertSrv/Default.asp"
part: header
condition: or

View File

@ -0,0 +1,24 @@
id: ms-adcs-detect
info:
name: MS Active Directory Certificate Services Detector
author: divya_mudgal
severity: info
tags: microsoft,ad,panel
requests:
- method: GET
path:
- "{{BaseURL}}"
matchers-condition: and
matchers:
- type: status
status:
- 302
- 301
condition: or
- type: dsl
dsl:
- "contains(tolower(all_headers), '/certsrv')"