Merge pull request #290 from un-fmunozs/drop-cms-detect
Improve drupal detection on tech-detect and drop cms-detectpatch-1
commit
c29c02f10d
|
@ -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