Merge pull request #5664 from daffainfo/patch-22

fix: false negative gogs-panel template
patch-1
Prince Chaddha 2022-10-14 17:46:43 +05:30 committed by GitHub
commit ed0eea4c2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 25 deletions

View File

@ -1,25 +0,0 @@
id: gogs-login
info:
name: Gogs (Go Git Service) - Sign In Page
author: dhiyaneshDK
severity: info
metadata:
shodan-query: title:"Sign In - Gogs"
tags: panel,gogs
requests:
- method: GET
path:
- '{{BaseURL}}/user/login'
matchers-condition: and
matchers:
- type: word
words:
- '<title>Sign In - Gogs</title>'
- type: status
status:
- 200

View File

@ -0,0 +1,37 @@
id: gogs-panel
info:
name: Gogs (Go Git Service) - Sign In Page
author: DhiyaneshDk,daffainfo
reference:
- https://gogs.io/
severity: info
metadata:
verified: true
shodan-query: title:"Sign In - Gogs"
google-query: intitle:"Sign In - Gogs"
tags: panel,gogs
requests:
- method: GET
path:
- '{{BaseURL}}/user/login'
matchers-condition: and
matchers:
- type: word
part: body
words:
- '<meta property="og:title" content="Gogs'
- 'js/gogs.js?v='
condition: and
- type: status
status:
- 200
extractors:
- type: regex
group: 1
regex:
- 'Version: ([0-9.]+) Page:'