Merge pull request #7941 from pphuahua/main-1

Update dedecms-detect.yaml
patch-1
pussycat0x 2023-08-18 10:48:24 +05:30 committed by GitHub
commit d1c4b0e0ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 11 deletions

View File

@ -2,7 +2,7 @@ id: dedecms-detect
info:
name: DedeCMS Detect
author: ritikchaddha
author: ritikchaddha,pphuahua
severity: info
metadata:
max-request: 1
@ -14,19 +14,14 @@ http:
- method: GET
path:
- "{{BaseURL}}"
- "{{BaseURL}}/robots.txt"
host-redirects: true
max-redirects: 2
matchers-condition: and
matchers:
- type: word
part: body
words:
- "Power by DedeCms"
- "DedeCMS演示站"
- "DedeCMS"
- type: dsl
dsl:
- "status_code_1 == 200 && contains(body,'Power by DedeCms') || contains(body,'DedeCMS演示站') || contains(body,'DedeCMS')"
- "status_code_2 == 200 && contains(body_2,'/plus/search.php')"
condition: or
- type: status
status:
- 200