commit
44e78ed9d4
|
@ -2,26 +2,31 @@ id: gitea-detect
|
|||
|
||||
info:
|
||||
name: Gitea Detect
|
||||
author: pikpikcu
|
||||
author: pikpikcu,righettod
|
||||
severity: info
|
||||
description: Gitea was detected.
|
||||
reference:
|
||||
- https://about.gitea.com/
|
||||
- https://docs.gitea.com/api
|
||||
metadata:
|
||||
max-request: 2
|
||||
verified: true
|
||||
max-request: 1
|
||||
shodan-query: http.title:"Gitea"
|
||||
tags: tech,gitea
|
||||
|
||||
http:
|
||||
- method: GET
|
||||
path:
|
||||
- "{{BaseURL}}"
|
||||
- "{{BaseURL}}/user/login"
|
||||
|
||||
stop-at-first-match: true
|
||||
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- "Powered by Gitea"
|
||||
- 'content="Gitea'
|
||||
condition: or
|
||||
|
||||
- type: status
|
||||
status:
|
||||
|
@ -30,6 +35,9 @@ http:
|
|||
extractors:
|
||||
- type: regex
|
||||
part: body
|
||||
group: 1
|
||||
regex:
|
||||
- "Powered by Gitea(\\s*)Version:(\\s*)([\\d.]+)"
|
||||
# digest: 490a004630440220791687a21e5f46c7a6eb923d809d18340770e0c193af81f0a9934a3f199169780220280ffe146a31762152e070e81bffa10978320384487251c5643d87884f18867e:922c64590222798bb761d5b6d8e72950
|
||||
- "Gitea Version: ([0-9a-z+-.~]+)"
|
||||
- 'theme-gitea-auto.css\?v=([0-9a-z+-.~]+)'
|
||||
- 'encodeURIComponent.{2}([0-9a-z+-.~]+).{2}'
|
||||
|
|
Loading…
Reference in New Issue