From 5167009981506b9e9d7d6b6e266b5a658966234b Mon Sep 17 00:00:00 2001 From: Dhiyaneshwaran Date: Tue, 25 Oct 2022 05:01:42 +0530 Subject: [PATCH] Create rubocop-config.yaml --- exposures/configs/rubocop-config.yaml | 32 +++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 exposures/configs/rubocop-config.yaml diff --git a/exposures/configs/rubocop-config.yaml b/exposures/configs/rubocop-config.yaml new file mode 100644 index 0000000000..8d645f571a --- /dev/null +++ b/exposures/configs/rubocop-config.yaml @@ -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