2023-01-07 18:12:21 +00:00
|
|
|
id: phpcli-stack-trace
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: PHP CLI Server Stack Trace
|
|
|
|
author: DhiyaneshDk
|
|
|
|
severity: info
|
|
|
|
metadata:
|
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 1
|
2023-01-07 18:12:21 +00:00
|
|
|
shodan-query: The requested resource <code class="url">
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: misconfig,phpcli,intrusive
|
2023-01-07 18:12:21 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2023-01-07 18:12:21 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- '{{BaseURL}}/{{randstr}}.php'
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
2023-01-10 11:08:37 +00:00
|
|
|
- type: regex
|
2023-01-07 18:12:21 +00:00
|
|
|
part: body
|
2023-01-10 11:08:37 +00:00
|
|
|
regex:
|
|
|
|
- '<code.*>/{{randstr}}.php.* this server.'
|
2023-01-07 18:12:21 +00:00
|
|
|
- '404 Not Found'
|
2023-01-10 11:08:37 +00:00
|
|
|
- '<h1>Not Found</h1>'
|
2023-01-07 18:12:21 +00:00
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "text/html"
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 404
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 490a004630440220562317d603c300e4d51bc22217a0758d3c43add49d3e2b342225826297c42be80220320994e9a1cd0b2cd620df74974b888e95118329cfd61f0de1d8952bc594d5a0:922c64590222798bb761d5b6d8e72950
|