Update and rename git-repository-browser.yaml to cgit-panel.yaml

patch-12
Dominique RIGHETTO 2024-09-22 22:14:30 +02:00 committed by GitHub
parent 7ade904e3e
commit ceecf3dc3e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 17 additions and 17 deletions

View File

@ -1,10 +1,12 @@
id: git-repository-browser
id: cgit-panel
info:
name: Git Repository Browser Panel - Detect
author: tess
name: CGIT - Detect
author: tess,righettod
severity: info
description: Git Repository Browser panel was detected.
description: CGIT panel was detected.
reference:
- https://git.zx2c4.com/cgit/about/
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
cwe-id: CWE-200
@ -26,19 +28,17 @@ http:
path:
- "{{BaseURL}}"
host-redirects: true
max-redirects: 2
matchers-condition: and
matchers:
- type: word
part: body
words:
- "Git repository browser"
- "a fast webinterface for the git dscm"
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(to_lower(body), "git repository browser")'
- 'contains(to_lower(body), "cgit")'
condition: and
- type: status
status:
- 200
# digest: 4b0a00483046022100cc873e231c0b44277466d5601b98adbeaa6411e185d46882e6302caa6f632b3102210086cea3d9b083e3c8f28c64ed84d48355075f41bdc120a6b46ced2e826553ddfe:922c64590222798bb761d5b6d8e72950
extractors:
- type: regex
part: body
group: 1
regex:
- '(?i)<meta\s+name=.?generator.?\s+content=.?([a-z0-9\s.]+).?'