Merge pull request #5941 from vionde/bottle-debug

Bottle debug
patch-1
Prince Chaddha 2022-11-04 23:50:36 +05:30 committed by GitHub
commit 64f7f65ce9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,33 @@
id: bottle-debug
info:
name: Bottle debug mode enabled
author: viondexd
severity: info
reference:
- https://bottlepy.org/docs/dev/tutorial.html#debug-mode
metadata:
verified: true
shodan-query: html:"Sorry, the requested URL"
tags: bottle,exposure,debug
requests:
- method: GET
path:
- "{{BaseURL}}"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "Sorry, the requested URL "
- " caused an error:"
condition: and
- type: word
part: body
words:
- "<tt>&#039;{{BaseURL}}&#039;</tt>"
- "<tt>&#039;{{BaseURL}}/&#039;</tt>"
condition: or