Merge pull request #6484 from projectdiscovery/phpcli-stack-trace

Create phpcli-stack-trace.yaml
patch-1
Ritik Chaddha 2023-01-10 16:58:38 +05:30 committed by GitHub
commit 67159725d0
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: 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: regex
part: body
regex:
- '<code.*>/{{randstr}}.php.* this server.'
- '404 Not Found'
- '<h1>Not Found</h1>'
condition: and
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 404