Merge pull request #5807 from projectdiscovery/rackup-config-ru

Create rackup-config-ru.yaml
patch-1
Prince Chaddha 2022-10-25 18:20:05 +05:30 committed by GitHub
commit 4270d57310
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,34 @@
id: rackup-config-ru
info:
name: Rackup config.ru Configuration Exposure
author: DhiyaneshDk
severity: info
reference:
- https://raw.githubusercontent.com/maurosoria/dirsearch/master/db/dicc.txt
- https://learn.co/lessons/config-ru-tutorial
metadata:
verified: true
shodan-query: html:"config.ru"
tags: exposure,files,config,rackup
requests:
- method: GET
path:
- '{{BaseURL}}/config.ru'
matchers-condition: or
matchers:
- type: word
part: body
words:
- "run Rails.application"
- "/config/environment"
condition: and
- type: word
part: body
words:
- "Bundler.require"
- "require 'rubygems'"
condition: and