Merge pull request #5806 from projectdiscovery/rubocop-config

Create rubocop-config.yaml
patch-1
Prince Chaddha 2022-10-25 18:13:50 +05:30 committed by GitHub
commit 1d7a9e6694
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,32 @@
id: rubocop-config
info:
name: Rubocop Configuration File Exposure
author: DhiyaneshDk
severity: info
reference:
- https://raw.githubusercontent.com/maurosoria/dirsearch/master/db/dicc.txt
- https://github.com/rubocop/rubocop
metadata:
verified: true
shodan-query: html:"rubocop.yml"
tags: exposure,files,config,ruby
requests:
- method: GET
path:
- '{{BaseURL}}/.rubocop.yml'
matchers-condition: and
matchers:
- type: word
part: body
words:
- "AllCops:"
- "Include:"
- "Exclude:"
condition: and
- type: status
status:
- 200