2022-06-05 21:45:03 +00:00
|
|
|
id: php-ini
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Php.ini File Disclosure
|
2022-06-06 11:48:34 +00:00
|
|
|
author: geeknik,DhiyaneshDK
|
2022-06-05 21:45:03 +00:00
|
|
|
severity: low
|
|
|
|
reference: https://www.php.net/manual/en/configuration.file.php
|
|
|
|
metadata:
|
2023-04-28 08:11:21 +00:00
|
|
|
max-request: 1
|
2022-06-05 21:45:03 +00:00
|
|
|
verified: true
|
|
|
|
shodan-query: php.ini
|
2022-10-13 10:12:07 +00:00
|
|
|
tags: config,exposure,files
|
2022-06-05 21:45:03 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-06-05 21:45:03 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/php.ini"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
|
|
|
|
- type: word
|
2022-06-06 11:48:34 +00:00
|
|
|
part: body
|
2022-06-05 21:45:03 +00:00
|
|
|
words:
|
|
|
|
- "[PHP]"
|
|
|
|
- "short_open_tag"
|
|
|
|
- "safe_mode"
|
|
|
|
- "expose_php"
|
2022-06-06 11:48:34 +00:00
|
|
|
condition: and
|
2022-06-05 21:45:03 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|