35 lines
798 B
YAML
35 lines
798 B
YAML
id: php-ini
|
|
|
|
info:
|
|
name: Php.ini File Disclosure
|
|
author: geeknik,DhiyaneshDK
|
|
severity: low
|
|
reference: https://www.php.net/manual/en/configuration.file.php
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
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: 4a0a004730450220513e3aec6d09f77e319ae2818b57a1292e0c686814efbd30fdea301e0d273654022100c2047405a05eeddb718eb4f952d849099d66ac0af0378e8ee832fa6ab53b5ba4:922c64590222798bb761d5b6d8e72950
|