mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-11-07 08:36:19 -10:00
Create datagerry-default-login.yaml
Signed-off-by: GwanYeong Kim <[email protected]>
This commit is contained in:
1 parent
68247faa00
commit
0b20e94de8
1 file changed
+45
@@ -0,0 +1,45 @@
|
||||
id: datagerry-default-login
|
||||
|
||||
info:
|
||||
name: Datagerry - Default Login
|
||||
author: gy741
|
||||
severity: high
|
||||
description: |
|
||||
Datagerry was using default username and password was discovered.
|
||||
metadata:
|
||||
verified: true
|
||||
max-request: 1
|
||||
shodan-query: http.title:"datagerry"
|
||||
tags: datagerry,default-login
|
||||
|
||||
variables:
|
||||
username: "admin"
|
||||
password: "admin"
|
||||
|
||||
http:
|
||||
- raw:
|
||||
- |
|
||||
POST /rest/auth/login HTTP/1.1
|
||||
Host: {{Hostname}}
|
||||
Content-Type: application/json
|
||||
|
||||
{"user_name":"{{username}}","password":"{{password}}"}
|
||||
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- '"token":'
|
||||
- '"token_issued_at":'
|
||||
- '"token_expire":'
|
||||
condition: and
|
||||
|
||||
- type: word
|
||||
part: content_type
|
||||
words:
|
||||
- "application/json"
|
||||
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
||||
Reference in new issue
Block a user