31 lines
662 B
YAML
31 lines
662 B
YAML
|
id: drupal-login
|
||
|
|
||
|
info:
|
||
|
name: Drupal login
|
||
|
author: pathtaga
|
||
|
severity: info
|
||
|
tags: panel,drupal
|
||
|
|
||
|
requests:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- "{{BaseURL}}"
|
||
|
- "{{BaseURL}}/user/login"
|
||
|
|
||
|
stop-at-first-match: true
|
||
|
matchers-condition: or
|
||
|
matchers:
|
||
|
- type: regex
|
||
|
part: body
|
||
|
regex:
|
||
|
- '<(?:link|style)[^>]+"/sites/(?:default|all)/(?:themes|modules)/'
|
||
|
- '<[^>]+(?:id="block[_-]commerce[_-]cart[_-]cart|class="commerce[_-]product[_-]field)'
|
||
|
condition: or
|
||
|
|
||
|
- type: regex
|
||
|
part: header
|
||
|
regex:
|
||
|
- '(?i)x-drupal'
|
||
|
- "(?i)x-generator: drupal"
|
||
|
condition: or
|