Create auth-json.yaml

patch-1
Dhiyaneshwaran 2023-11-15 00:41:57 +05:30 committed by GitHub
parent ae7b8c049c
commit 87296cdec8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 41 additions and 0 deletions

View File

@ -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