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:
|
|
|
|
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
|
|
|
|
|
|
|
requests:
|
|
|
|
- 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
|