31 lines
578 B
YAML
31 lines
578 B
YAML
id: config-rb
|
|
|
|
info:
|
|
name: Config Ruby File Disclosure
|
|
author: DhiyaneshDK
|
|
severity: unknown
|
|
metadata:
|
|
verified: true
|
|
shodan-query: html:"config.rb"
|
|
tags: ruby,devops,exposure,config
|
|
|
|
requests:
|
|
- 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
|