43 lines
947 B
YAML
43 lines
947 B
YAML
id: drupal-detect
|
|
|
|
info:
|
|
name: Drupal Detection
|
|
author: 1nf1n7y
|
|
severity: info
|
|
metadata:
|
|
verified: true
|
|
max-request: 3
|
|
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: 490a0046304402206b42e6e66bef90d25a1554d6b8dea3838be21a3a6ce7dbf18a65146e41452be7022051ee7c9657b73164a633a9e41e6a0cdfc4847c9c9aa865908caab233866901b8:922c64590222798bb761d5b6d8e72950
|