Files
nuclei-templates/http/exposures/files/php-ini.yaml
Prince Chaddha ea7a5969c8 Revert "chore: update TemplateMan 🤖"
This reverts commit c31d574176.
2025-05-27 10:39:47 +08:00

38 lines
928 B
YAML

id: php-ini
info:
name: Php.ini File Disclosure
author: geeknik,DhiyaneshDK
severity: low
description: php.ini file is exposed.
reference: https://www.php.net/manual/en/configuration.file.php
classification:
cpe: cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: php
product: php
shodan-query: php.ini
tags: config,exposure,files
http:
- method: GET
path:
- "{{BaseURL}}/php.ini"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "[PHP]"
- "short_open_tag"
- "safe_mode"
- "expose_php"
condition: and
- type: status
status:
- 200
# digest: 490a0046304402200a4a36ccfa8bad07bd3bd99be7810907ecb3a13a4544a4fb03e572a184f4863402207077f4917fa244de1f67671dfd1a1b4331a8026d0eeefbc098a345bdd9b91020:922c64590222798bb761d5b6d8e72950