34 lines
805 B
YAML
34 lines
805 B
YAML
id: credentials-json
|
|
|
|
info:
|
|
name: Credentials File Disclosure
|
|
author: ritikchaddha
|
|
severity: medium
|
|
metadata:
|
|
verified: true
|
|
max-request: 2
|
|
google-query: intitle:"index of" "credentials.json"
|
|
tags: google,secret,exposure,files
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/credentials.json"
|
|
- "{{BaseURL}}/assets/credentials.json"
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- '"client_secret":'
|
|
- '"client_id":'
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4a0a004730450221008476c065e9195964aa5a01fe06bd991c9c6553399489cc72ce67921b1c3285ac02205dc9fc0e574e324ee2c96ebc2ea1a48a4c2b55c9bc210513c26c4b8addc4ab87:922c64590222798bb761d5b6d8e72950
|