Skip to content

Commit

Permalink
updated matchers & request
Browse files Browse the repository at this point in the history
  • Loading branch information
ritikchaddha committed May 12, 2024
1 parent 8bcf8b5 commit fce870a
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions http/technologies/craftercms-detect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,19 @@ info:
http:
- method: GET
path:
- "{{BaseURL}}/studio"
- "{{BaseURL}}"

host-redirects: true
max-redirects: 2
matchers:
- type: dsl
dsl:
- 'status_code == 404'
- 'contains_any(to_lower(body), "craftercms", "crafter software corporation")'
condition: and
- type: word
part: header
words:
- 'CrafterCMS'

extractors:
- type: regex
part: body
group: 1
regex:
- 'Copyright\s+\(C\)\s+([0-9-]+)\s+Crafter'
- 'Copyright\s+\(C\)\s+([0-9-]+)\s+Crafter'

0 comments on commit fce870a

Please sign in to comment.