Improve drupal detection on tech-detect and drop cms-detect
tech-detect does a better job with more cms than cms-detect, strings from cms-detect added for drupal. wordpress detection on tech-detect is ok. Fix #289patch-1
parent
84d4e2ab5a
commit
c21eccd8e6
|
@ -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
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue