nuclei-templates/http/exposures/files/environment-rb.yaml

33 lines
816 B
YAML

id: environment-rb
info:
name: Environment Ruby File Disclosure
author: DhiyaneshDK
severity: medium
metadata:
verified: true
max-request: 3
google-query: intitle:"index of" "environment.rb"
tags: ruby,devops,exposure,files
http:
- 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:
- '# Load the Rails application.'
- type: status
status:
- 200
# digest: 4b0a00483046022100c1b3e05fb392d6e228ae606a8c7dec12b4a4e22890f108c3cea132e542b71d9002210096a5ab56b9cd33099c97d362b0ba458d87ab19be9d4883b40d32ad7716d0711a:922c64590222798bb761d5b6d8e72950