2021-09-16 04:18:34 +00:00
|
|
|
id: gitea-detect
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Gitea Detect
|
2024-09-14 06:41:47 +00:00
|
|
|
author: pikpikcu,righettod
|
2021-09-16 04:18:34 +00:00
|
|
|
severity: info
|
2024-09-14 06:41:47 +00:00
|
|
|
description: Gitea was detected.
|
|
|
|
reference:
|
|
|
|
- https://about.gitea.com/
|
|
|
|
- https://docs.gitea.com/api
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
2024-09-14 06:41:47 +00:00
|
|
|
verified: true
|
|
|
|
max-request: 1
|
|
|
|
shodan-query: http.title:"Gitea"
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: tech,gitea
|
2021-09-16 04:18:34 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-09-16 04:18:34 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/user/login"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- "Powered by Gitea"
|
2024-09-14 06:41:47 +00:00
|
|
|
- 'content="Gitea'
|
|
|
|
condition: or
|
2021-09-16 04:18:34 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2021-09-16 12:13:04 +00:00
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
2024-09-14 06:41:47 +00:00
|
|
|
group: 1
|
2021-09-16 12:13:04 +00:00
|
|
|
regex:
|
2024-01-30 02:43:09 +00:00
|
|
|
- "Powered by Gitea(\\s*)Version:(\\s*)([\\d.]+)"
|
2024-09-14 06:41:47 +00:00
|
|
|
- "Gitea Version: ([0-9a-z+-.~]+)"
|
|
|
|
- 'theme-gitea-auto.css\?v=([0-9a-z+-.~]+)'
|
|
|
|
- 'encodeURIComponent.{2}([0-9a-z+-.~]+).{2}'
|
2024-09-17 03:01:23 +00:00
|
|
|
# digest: 4a0a0047304502206b59ff6e46464cce3b833008cf9d6fcac49091dd3026418a8850db140113ad32022100ac64d598c047c8033ce3a630965d79d35dc7a7ad72a3d4181b422c4bc6157425:922c64590222798bb761d5b6d8e72950
|