2022-09-01 19:58:12 +00:00
|
|
|
id: drupal-detect
|
2022-08-25 17:37:56 +00:00
|
|
|
|
|
|
|
info:
|
|
|
|
name: Drupal Detection
|
|
|
|
author: 1nf1n7y
|
|
|
|
severity: info
|
|
|
|
metadata:
|
2023-08-17 10:11:14 +00:00
|
|
|
max-request: 3
|
2022-08-26 05:29:08 +00:00
|
|
|
verified: true
|
2022-08-25 17:37:56 +00:00
|
|
|
shodan-query: http.component:"Drupal"
|
|
|
|
tags: tech,drupal
|
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-08-25 17:37:56 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
2022-09-01 19:58:12 +00:00
|
|
|
- "{{BaseURL}}"
|
2022-08-25 17:37:56 +00:00
|
|
|
- "{{BaseURL}}/CHANGELOG.txt"
|
2023-08-17 10:11:14 +00:00
|
|
|
- "{{BaseURL}}/core/install.php"
|
2022-08-25 17:37:56 +00:00
|
|
|
|
2022-09-01 19:58:12 +00:00
|
|
|
matchers-condition: or
|
2022-08-25 17:37:56 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
2022-08-26 05:29:08 +00:00
|
|
|
part: body
|
2022-08-25 17:37:56 +00:00
|
|
|
words:
|
2022-08-26 05:29:08 +00:00
|
|
|
- 'Initial release'
|
|
|
|
- 'Drupal 1.0.0'
|
|
|
|
condition: and
|
|
|
|
|
2022-09-01 19:58:12 +00:00
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- 'content="Drupal'
|
2023-08-17 10:11:14 +00:00
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
name: version_by_install
|
|
|
|
group: 1
|
|
|
|
regex:
|
|
|
|
- 'class="site-version">([0-9.x-]+)'
|