29 lines
583 B
YAML
29 lines
583 B
YAML
id: environment-rb
|
|
|
|
info:
|
|
name: Environment Ruby File Disclosure
|
|
author: DhiyaneshDK
|
|
severity: medium
|
|
metadata:
|
|
verified: true
|
|
google-query: intitle:"index of" "environment.rb"
|
|
tags: ruby,devops,exposure
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/environment.rb"
|
|
- "{{BaseURL}}/config/environment.rb"
|
|
- "{BaseURL}}/redmine/config/environment.rb"
|
|
|
|
stop-at-first-match: true
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- 'File.expand_path'
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|