Skip to content

Commit 89d5657

Browse files
authored
Merge pull request #709 from OWASP/securestep9-patch-drupal-version-1
Updates drupal_version_scan module
2 parents 7269995 + bd8abd1 commit 89d5657

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

modules/scan/drupal_version.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,12 @@ payloads:
3434
- 80
3535
- 443
3636
response:
37-
condition_type: or
37+
condition_type: and
3838
conditions:
39+
status_code:
40+
regex: "200"
41+
reverse: false
3942
content:
40-
regex: Drupal (\d+\.\d+),
43+
regex: ^Drupal (\d+\.\d+)\,
4144
reverse: false
45+
log: "response_dependent['content']"

0 commit comments

Comments
 (0)