Create rubocop-config.yaml

patch-1
Dhiyaneshwaran 2022-10-25 05:01:42 +05:30 committed by GitHub
parent 9eeea93873
commit 5167009981
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: low
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