nuclei-templates/http/technologies/drupal-detect.yaml

45 lines
1.0 KiB
YAML

id: drupal-detect
info:
name: Drupal Detection
author: 1nf1n7y
severity: info
classification:
cpe: cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 3
vendor: drupal
product: drupal
shodan-query: http.component:"Drupal"
tags: tech,drupal
http:
- method: GET
path:
- "{{BaseURL}}"
- "{{BaseURL}}/CHANGELOG.txt"
- "{{BaseURL}}/core/install.php"
matchers-condition: or
matchers:
- type: word
part: body
words:
- 'Initial release'
- 'Drupal 1.0.0'
condition: and
- type: word
part: body
words:
- 'content="Drupal'
extractors:
- type: regex
part: body
name: version_by_install
group: 1
regex:
- 'class="site-version">([0-9.x-]+)'
# digest: 4a0a00473045022100d17716b0e6c7bfbf78504a91e3084e49201fe1f018699913b303db3e6116978002200a444e06294e218aca6ecac2977a8508f3338c82fb036ee1c6f62c9d073540e1:922c64590222798bb761d5b6d8e72950