Skip to content

Commit

Permalink
Update drupal-detect.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ritikchaddha authored Jan 30, 2025
1 parent 97ad75f commit 656f813
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions http/technologies/drupal-detect.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
id: drupal-detect

info:
name: Drupal Detection
name: Drupal - Detect
author: 1nf1n7y
severity: info
classification:
Expand All @@ -20,7 +20,9 @@ http:
- "{{BaseURL}}"
- "{{BaseURL}}/CHANGELOG.txt"
- "{{BaseURL}}/core/install.php"
- "{{BaseURL}}/user/login"

stop-at-first-match: true
matchers-condition: or
matchers:
- type: word
Expand All @@ -35,11 +37,18 @@ http:
words:
- 'content="Drupal'

- type: regex
part: header
regex:
- '(?i)x-drupal'
- "(?i)x-generator: drupal"
condition: or

extractors:
- type: regex
part: body
name: version_by_install
group: 1
regex:
- 'class="site-version">([0-9.x-]+)'
# digest: 4a0a004730450221008ee3eb84fcfaf53002675eb7585ba0258e25ebb1c38f7c6091bcbde9c408ce83022058533c4098b8ddb62a547d791cbae4eb9c32266a77e589e445a06bfc734fe684:922c64590222798bb761d5b6d8e72950
# digest: 4a0a004730450221008ee3eb84fcfaf53002675eb7585ba0258e25ebb1c38f7c6091bcbde9c408ce83022058533c4098b8ddb62a547d791cbae4eb9c32266a77e589e445a06bfc734fe684:922c64590222798bb761d5b6d8e72950

0 comments on commit 656f813

Please sign in to comment.