2022-10-24 23:31:42 +00:00
|
|
|
id: rubocop-config
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Rubocop Configuration File Exposure
|
|
|
|
author: DhiyaneshDk
|
2022-10-25 12:41:45 +00:00
|
|
|
severity: info
|
2022-10-24 23:31:42 +00:00
|
|
|
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
|