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
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 1
|
2022-06-05 21:45:03 +00:00
|
|
|
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
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a004730450220513e3aec6d09f77e319ae2818b57a1292e0c686814efbd30fdea301e0d273654022100c2047405a05eeddb718eb4f952d849099d66ac0af0378e8ee832fa6ab53b5ba4:922c64590222798bb761d5b6d8e72950
|