Create phpcli-stack-trace.yaml

patch-1
Dhiyaneshwaran 2023-01-07 23:42:21 +05:30 committed by GitHub
parent 12a5192482
commit e63973e4f9
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: phpcli-stack-trace
info:
name: PHP CLI Server Stack Trace
author: DhiyaneshDk
severity: info
metadata:
verified: true
shodan-query: The requested resource <code class="url">
tags: misconfig,phpcli
requests:
- method: GET
path:
- '{{BaseURL}}/{{randstr}}.php'
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'The requested resource <code class="url">/{{randstr}}.php</code> was not found on this server'
- '404 Not Found'
condition: and
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 404