42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
id: rubocop-config
|
|
|
|
info:
|
|
name: Rubocop Configuration - Detect
|
|
author: DhiyaneshDk
|
|
severity: info
|
|
description: Rubocop configuration information was detected.
|
|
reference:
|
|
- https://raw.githubusercontent.com/maurosoria/dirsearch/master/db/dicc.txt
|
|
- https://github.com/rubocop/rubocop
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
|
|
cvss-score: 0
|
|
cwe-id: CWE-200
|
|
cpe: cpe:2.3:a:rubocop_project:rubocop:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
shodan-query: html:"rubocop.yml"
|
|
product: rubocop
|
|
vendor: rubocop_project
|
|
tags: exposure,files,config,ruby
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/.rubocop.yml'
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "AllCops:"
|
|
- "Include:"
|
|
- "Exclude:"
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 490a00463044022053f87291e57113b55eb5f17d4a65d74741e0d8118519ed3c860144f05a971d110220510efb8daad19af18ea05f2a4a3e6547f6a46e5c855cfc8d53bc1e873854a556:922c64590222798bb761d5b6d8e72950 |