Skip to content

Commit bd8abd1

Browse files
authored
Update drupal_version.yaml
added version logging and improved regex
1 parent 7269995 commit bd8abd1

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)