Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor the "GITEA" template. #10752

Merged
merged 1 commit into from
Sep 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions http/technologies/gitea-detect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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