Files
nuclei-templates/misconfiguration/phpcli-stack-trace.yaml

35 lines
664 B
YAML
Raw Normal View History

2023-01-07 23:42:21 +05:30
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:
2023-01-10 16:38:37 +05:30
- type: regex
2023-01-07 23:42:21 +05:30
part: body
2023-01-10 16:38:37 +05:30
regex:
- '<code.*>/{{randstr}}.php.* this server.'
2023-01-07 23:42:21 +05:30
- '404 Not Found'
2023-01-10 16:38:37 +05:30
- '<h1>Not Found</h1>'
2023-01-07 23:42:21 +05:30
condition: and
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 404