Files
nuclei-templates/http/exposed-panels/cgit-panel.yaml
Prince Chaddha ea7a5969c8 Revert "chore: update TemplateMan 🤖"
This reverts commit c31d574176.
2025-05-27 10:39:47 +08:00

44 lines
1.2 KiB
YAML

id: cgit-panel
info:
name: CGIT - Detect
author: tess,righettod
severity: info
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
cpe: cpe:2.3:a:cgit_project:cgit:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: cgit_project
product: cgit
shodan-query:
- http.title:"Git repository browser"
- http.title:"git repository browser"
fofa-query: title="git repository browser"
google-query: intitle:"git repository browser"
tags: panel,git,cgit_project
http:
- method: GET
path:
- "{{BaseURL}}"
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains_all(to_lower(body), "git repository browser", "cgit")'
condition: and
extractors:
- type: regex
part: body
group: 1
regex:
- '(?i)<meta\s+name=.?generator.?\s+content=.?([a-z0-9\s.]+).?'
# digest: 4a0a004730450220269a1a7b3d811bfc052a90df58e0f66c4cd84e610a82ea230074e6c532919c5b022100c8616dfa6f3150d3179fa7908b9f86022ecb881421d4b24515d113850e6e1e1b:922c64590222798bb761d5b6d8e72950