mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-10 04:33:31 +08:00
45 lines
1.0 KiB
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: 4a0a004730450221008ee3eb84fcfaf53002675eb7585ba0258e25ebb1c38f7c6091bcbde9c408ce83022058533c4098b8ddb62a547d791cbae4eb9c32266a77e589e445a06bfc734fe684:922c64590222798bb761d5b6d8e72950 |