mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-04 09:43:40 +08:00
44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
id: gitea-detect
|
|
|
|
info:
|
|
name: Gitea Detect
|
|
author: pikpikcu,righettod
|
|
severity: info
|
|
description: Gitea was detected.
|
|
reference:
|
|
- https://about.gitea.com/
|
|
- https://docs.gitea.com/api
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
shodan-query: http.title:"Gitea"
|
|
tags: tech,gitea
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/user/login"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "Powered by Gitea"
|
|
- 'content="Gitea'
|
|
condition: or
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
extractors:
|
|
- type: regex
|
|
part: body
|
|
group: 1
|
|
regex:
|
|
- "Powered by Gitea(\\s*)Version:(\\s*)([\\d.]+)"
|
|
- "Gitea Version: ([0-9a-z+-.~]+)"
|
|
- 'theme-gitea-auto.css\?v=([0-9a-z+-.~]+)'
|
|
- 'encodeURIComponent.{2}([0-9a-z+-.~]+).{2}'
|
|
# digest: 4b0a004830460221008ccad5ecb7d0b4e539c8a6bd32bb462b3f344ac1be4a0be07f4c84bcea52815d022100dfcf71e53c2385f61429e410d4004d5a6a9f51da3bc40960c428f5b1063d4a4c:922c64590222798bb761d5b6d8e72950 |