Merge pull request #2688 from pikpikcu/patch-283

Added gitea-detect
patch-1
Prince Chaddha 2021-09-16 18:19:22 +05:30 committed by GitHub
commit 263581b7e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,32 @@
id: gitea-detect
info:
name: Gitea Detect
author: pikpikcu
severity: info
tags: tech,gitea
requests:
- method: GET
path:
- "{{BaseURL}}"
- "{{BaseURL}}/user/login"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- "Powered by Gitea"
- type: status
status:
- 200
extractors:
- type: regex
part: body
regex:
- "Powered by Gitea Version: ([0-9.]+)"