Merge pull request #290 from un-fmunozs/drop-cms-detect

Improve drupal detection on tech-detect and drop cms-detect
patch-1
bauthard 2020-08-08 02:48:49 +05:30 committed by GitHub
commit c29c02f10d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 29 deletions

View File

@ -1,28 +0,0 @@
id: cms-detect
info:
name: CMS Detect
author: NkxxkN https://twitter.com/NkkxN
severity: info
requests:
- method: GET
path:
- "{{BaseURL}}/"
matchers-condition: or
matchers:
- type: word
name: drupal
words:
- "X-Drupal"
- "x-drupal"
- "X-Generator: Drupal"
condition: or
part: header
- type: word
name: wordpress
words:
- "/wp-content/"
- "/wp-includes/"
condition: or
part: body

View File

@ -1827,8 +1827,11 @@ requests:
name: drupal
regex:
- <(?:link|style)[^>]+"/sites/(?:default|all)/(?:themes|modules)/
- "X-Drupal"
- "x-drupal"
- "X-Generator: Drupal"
condition: or
part: body
part: all
- type: regex
name: webxpay
regex: