40 lines
976 B
YAML
40 lines
976 B
YAML
id: phpcli-stack-trace
|
|
|
|
info:
|
|
name: PHP CLI Server Stack Trace
|
|
author: DhiyaneshDk
|
|
severity: info
|
|
classification:
|
|
cpe: cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
vendor: php
|
|
product: php
|
|
shodan-query: The requested resource <code class="url">
|
|
tags: misconfig,phpcli,intrusive
|
|
|
|
http:
|
|
- 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
|
|
# digest: 4a0a0047304502210091b3e1022707ffcb8fdf64de736c89a9b6325c0cec4aaee70300184f382356b60220258d8ae875606650d6b8f8799ee74e3e3969f4f32612a8fe54515dd0a5c03d38:922c64590222798bb761d5b6d8e72950 |