Create auth-json.yaml
parent
ae7b8c049c
commit
87296cdec8
|
@ -0,0 +1,41 @@
|
|||
id: auth-json
|
||||
|
||||
info:
|
||||
name: Auth.json File - Disclosure
|
||||
author: DhiyaneshDk
|
||||
severity: high
|
||||
metadata:
|
||||
verified: true
|
||||
max-request: 1
|
||||
shodan-query: html:"auth.json"
|
||||
tags: devops,exposure,files,auth,config
|
||||
|
||||
http:
|
||||
- method: GET
|
||||
path:
|
||||
- "{{BaseURL}}/auth.json"
|
||||
|
||||
matchers-condition: or
|
||||
matchers:
|
||||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- '"http-basic": {'
|
||||
- '"username":'
|
||||
- '"password":'
|
||||
condition: and
|
||||
|
||||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- '"github-oauth": {'
|
||||
- '"github.com":'
|
||||
condition: and
|
||||
|
||||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- '"bitbucket-oauth":'
|
||||
- '"consumer-key":'
|
||||
- '"consumer-secret":'
|
||||
condition: and
|
Loading…
Reference in New Issue