Skip to content

Commit

Permalink
Merge pull request #8626 from projectdiscovery/auth-json
Browse files Browse the repository at this point in the history
Create auth-json.yaml
  • Loading branch information
pussycat0x authored Nov 15, 2023
2 parents f8d4aec + 87296cd commit 8842f9c
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions http/exposures/files/auth-json.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8842f9c

Please sign in to comment.