2022-07-10 00:16:00 +00:00
|
|
|
id: config-rb
|
|
|
|
|
|
|
|
info:
|
2023-02-08 19:40:35 +00:00
|
|
|
name: Ruby Configuration File - Detect
|
2022-07-10 00:16:00 +00:00
|
|
|
author: DhiyaneshDK
|
2022-07-18 14:49:13 +00:00
|
|
|
severity: unknown
|
2023-02-08 19:40:35 +00:00
|
|
|
description: Multiple Ruby configuration files were detected.
|
2022-07-10 00:16:00 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
|
|
|
shodan-query: html:"config.rb"
|
|
|
|
tags: ruby,devops,exposure,config
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/config.rb"
|
2022-07-15 11:21:51 +00:00
|
|
|
- "{{BaseURL}}/.chef/config.rb"
|
2022-07-10 00:16:00 +00:00
|
|
|
- "{{BaseURL}}/assets/config.rb"
|
|
|
|
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
2022-07-12 12:32:35 +00:00
|
|
|
- 'images_dir'
|
2022-07-10 00:16:00 +00:00
|
|
|
- 'css_dir'
|
2022-07-12 12:32:35 +00:00
|
|
|
condition: and
|
2022-07-10 00:16:00 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-02-08 19:40:35 +00:00
|
|
|
|
|
|
|
# Enhanced by md on 2023/02/08
|