33 lines
662 B
YAML
33 lines
662 B
YAML
id: config-rb
|
|
|
|
info:
|
|
name: Ruby Configuration File - Detect
|
|
author: DhiyaneshDK
|
|
severity: unknown
|
|
description: Multiple Ruby configuration files were detected.
|
|
metadata:
|
|
max-request: 3
|
|
verified: true
|
|
shodan-query: html:"config.rb"
|
|
tags: ruby,devops,exposure,config
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/config.rb"
|
|
- "{{BaseURL}}/.chef/config.rb"
|
|
- "{{BaseURL}}/assets/config.rb"
|
|
|
|
stop-at-first-match: true
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- 'images_dir'
|
|
- 'css_dir'
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|