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 $j6=base64_decode('TWFpbkFsZXgubHVh');$c7=base64_decode('aHR0cDovL3Z1cGh1b25ndGh1eS5..

Decoded Output download

<?php $j6=base64_decode('TWFpbkFsZXgubHVh');$c7=base64_decode('aHR0cDovL3Z1cGh1b25ndGh1eS5zZXJ2ZW1pbmVjcmFmdC5uZXQvVjMucGhw');$p8=base64_decode('aHR0cDovL3Z1cGh1b25ndGh1eS5zZXJ2ZW1pbmVjcmFmdC5uZXQvQ3VzdG9tZXIucGhw');$g9=base64_decode('aHR0cDovL3Z1cGh1b25ndGh1eS5zZXJ2ZW1pbmVjcmFmdC5uZXQvVjEucGhw');$wa=base64_decode('RG93ckRuQVNLaURkSkZ4WFB4RURjamY0MkJVcUh6a2JVYUNObTR3SHc4QXlUcGE3Z0VHRXlic3dyNkczSmdFM3BhSGtaYlRhcGNXWmJlNE5IRA==');$vb=base64_decode('RG93ckRuQVNLaWg5UEFxSjZCV0NTZXFxbnM=');$ac=base64_decode('RG93ckRuQVNLaUJQZzNKNkg4dDZ4blBWclI=');error_reporting(0);function v0($ld){$ce='';for($sf=0;$sf<strlen($ld);$sf++){$ce.=chr(44).((ord($ld[$sf]))^255);}return chr(64).chr(69).chr(110).chr(99).chr(114).chr(121).chr(112).chr(116).chr(101).chr(100).chr(32).chr(114).chr(101).chr(115).chr(112).chr(111).chr(110).chr(115).chr(101).chr(32).chr(66).chr(121).chr(32).chr(68).chr(97).chr(114).chr(107).chr(105).chr(110).chr(103).chr(67).chr(104).chr(101).chr(97).chr(116).chr(101).chr(114).$ce;}function q1($ld){$o10=1;$v11='';for($sf=0;$sf<strlen($ld)/2;$sf++){$v11=$v11.chr(hexdec($ld[$o10-1].$ld[$o10])-25);$o10=$o10+2;}return base64_decode($v11);}function r2($ld){$v11=base64_encode($ld);$ce='';for($sf=0;$sf<strlen($v11);$sf++){$ce=$ce.dechex(ord($v11[$sf])+40);}return $ce;}function d3($ld){echo($ld);}function q4($ld){$o10=1;$v11='';for($sf=0;$sf<strlen($ld)/2;$sf++){$v11=$v11.chr(hexdec($ld[$o10-1].$ld[$o10])-40);$o10=$o10+2;}return base64_decode($v11);}function x5($a12){exit(v0(base64_decode('Z2cuYWxlcnQoJw==').$a12.base64_decode('Jyk=')));}$c13=json_decode(file_get_contents(base64_decode('cGhwOi8vaW5wdXQ=')),true);$d14=strtolower($c13[base64_decode('VXNlcm5hbWU=')]);$o15=$c13[base64_decode('UGFzc3dvcmQ=')];date_default_timezone_set(base64_decode('QXNpYS9Lb2xrYXRh'));$p16=base64_decode('VXNlckluZm9vLmpzb24=');$c17=$_SERVER[base64_decode('SFRUUF9VU0VSX0FHRU5U')];if(isset($d14)==false||isset($o15)==false||trim($o15)==''||trim($d14)==''){x5(base64_decode('4pqgIEludmFsaWQgVXNlciBvciBQYXNzd29yZCDimqA='));}$l18=json_decode(file_get_contents($p16),true);if($l18==null){$l18=[];}if($l18[r2($d14)]<>null){if($l18[r2($d14)][base64_decode('cGFzc3dvcmQ=')]==r2($o15)){if(strtotime(q4($l18[r2($d14)][base64_decode('RXhwaXJlRGF0YQ==')]))>strtotime(date(base64_decode('ZC1tLVk=')))){if($l18[r2($d14)][base64_decode('QWN0aXZlZA==')]==r2(base64_decode('dHJ1ZQ=='))){if($l18[r2($d14)][base64_decode('dXNlckFnZW50')]==base64_decode('bnVsbA==')){$l18[r2($d14)][base64_decode('dXNlckFnZW50')]=r2($c17);}if($l18[r2($d14)][base64_decode('dXNlckFnZW50')]==r2($c17)){$l18[r2($d14)][base64_decode('TGFzdExvZ2lu')]=r2(date(base64_decode('ZC1tLVk=')));if($l18[r2($d14)][base64_decode('TGV2ZWw=')]!=null){if($l18[r2($d14)][base64_decode('TGV2ZWw=')]==1){$f19=str_replace(base64_decode('UmVzcG9uc2UsIlxcbiI='),base64_decode('UmVzcG9uc2UsIlxuIg=='),str_replace(base64_decode('VVJMMw=='),$g9,str_replace(base64_decode('VVJMMg=='),$p8,str_replace(base64_decode('VVJMMQ=='),$c7,str_replace(base64_decode('R1NVQk1F'),$d14.base64_decode('Ojo6').$o15,str_replace(base64_decode('S0VZMQ=='),$wa,str_replace(base64_decode('S0VZMg=='),$vb,str_replace(base64_decode('S0VZMw=='),$ac,q1(file_get_contents(base64_decode('QmFzZUNyeXB0')))))))))));exit(v0($f19));return;}}file_put_contents($p16,json_encode($l18,true));$c1a=base64_decode('4pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW0CuKAoiBQbGFuIDogUHJpY2UgCgrigKIgVGVsZWdyYW0gQ2hhbm5lbCA6IGh0dHBzOi8vdC5tZS9PU0lLVEhFU1BJS0UK4pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW0CgrigKIgRXhwaXJlIFRpbWUgOiA=').q4($l18[r2($d14)][base64_decode('RXhwaXJlRGF0YQ==')].base64_decode('4pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW0'));exit(v0($c1a.base64_decode('e1NlUGFyYXRvcn17U2VQYXJhdG9yfXtTZXBhcmF0b3J9').file_get_contents($j6)));return;}else{x5(base64_decode('4pqgIERldGVjdGVkOiBTY3JpcHQgT25seSBXb3JrcyBJbiBPbmUgTW9iaWxlIFBob25lLCBDb250YWN0IEFkbWluIFRvIFJlc2V0IFlvdXIgS2V5IOKaoA=='));}}else{x5(base64_decode('4pqgIE9mZmxpbmUgQWNjb3VudCwgUGxlYXNlIENvbnRhY3QgVG8gVGhlIEFkbWluIOKaoA=='));return;}}else{x5(base64_decode('4pqgIFlvdXIgU3Vic2NyaXB0aW9uIEhhcyBFeHBpcmVkLCBZb3UgQ2FuIFRhbGsgVG8gVGhlIEFkbWluIEFuZCBSZW5ldyBJdCDimqA='));}}else{x5(base64_decode('4pqgIFBhc3N3b3JkIFdyb25nIOKaoA=='));return;}}else{x5(base64_decode('4pqgIFVzZXIgRG9lcyBOb3QgUmVnaXN0ZXJlZCDimqA='));return;}?>

Did this file decode correctly?

Original Code

<?php $j6=base64_decode('TWFpbkFsZXgubHVh');$c7=base64_decode('aHR0cDovL3Z1cGh1b25ndGh1eS5zZXJ2ZW1pbmVjcmFmdC5uZXQvVjMucGhw');$p8=base64_decode('aHR0cDovL3Z1cGh1b25ndGh1eS5zZXJ2ZW1pbmVjcmFmdC5uZXQvQ3VzdG9tZXIucGhw');$g9=base64_decode('aHR0cDovL3Z1cGh1b25ndGh1eS5zZXJ2ZW1pbmVjcmFmdC5uZXQvVjEucGhw');$wa=base64_decode('RG93ckRuQVNLaURkSkZ4WFB4RURjamY0MkJVcUh6a2JVYUNObTR3SHc4QXlUcGE3Z0VHRXlic3dyNkczSmdFM3BhSGtaYlRhcGNXWmJlNE5IRA==');$vb=base64_decode('RG93ckRuQVNLaWg5UEFxSjZCV0NTZXFxbnM=');$ac=base64_decode('RG93ckRuQVNLaUJQZzNKNkg4dDZ4blBWclI=');error_reporting(0);function v0($ld){$ce='';for($sf=0;$sf<strlen($ld);$sf++){$ce.=chr(44).((ord($ld[$sf]))^255);}return chr(64).chr(69).chr(110).chr(99).chr(114).chr(121).chr(112).chr(116).chr(101).chr(100).chr(32).chr(114).chr(101).chr(115).chr(112).chr(111).chr(110).chr(115).chr(101).chr(32).chr(66).chr(121).chr(32).chr(68).chr(97).chr(114).chr(107).chr(105).chr(110).chr(103).chr(67).chr(104).chr(101).chr(97).chr(116).chr(101).chr(114).$ce;}function q1($ld){$o10=1;$v11='';for($sf=0;$sf<strlen($ld)/2;$sf++){$v11=$v11.chr(hexdec($ld[$o10-1].$ld[$o10])-25);$o10=$o10+2;}return base64_decode($v11);}function r2($ld){$v11=base64_encode($ld);$ce='';for($sf=0;$sf<strlen($v11);$sf++){$ce=$ce.dechex(ord($v11[$sf])+40);}return $ce;}function d3($ld){echo($ld);}function q4($ld){$o10=1;$v11='';for($sf=0;$sf<strlen($ld)/2;$sf++){$v11=$v11.chr(hexdec($ld[$o10-1].$ld[$o10])-40);$o10=$o10+2;}return base64_decode($v11);}function x5($a12){exit(v0(base64_decode('Z2cuYWxlcnQoJw==').$a12.base64_decode('Jyk=')));}$c13=json_decode(file_get_contents(base64_decode('cGhwOi8vaW5wdXQ=')),true);$d14=strtolower($c13[base64_decode('VXNlcm5hbWU=')]);$o15=$c13[base64_decode('UGFzc3dvcmQ=')];date_default_timezone_set(base64_decode('QXNpYS9Lb2xrYXRh'));$p16=base64_decode('VXNlckluZm9vLmpzb24=');$c17=$_SERVER[base64_decode('SFRUUF9VU0VSX0FHRU5U')];if(isset($d14)==false||isset($o15)==false||trim($o15)==''||trim($d14)==''){x5(base64_decode('4pqgIEludmFsaWQgVXNlciBvciBQYXNzd29yZCDimqA='));}$l18=json_decode(file_get_contents($p16),true);if($l18==null){$l18=[];}if($l18[r2($d14)]<>null){if($l18[r2($d14)][base64_decode('cGFzc3dvcmQ=')]==r2($o15)){if(strtotime(q4($l18[r2($d14)][base64_decode('RXhwaXJlRGF0YQ==')]))>strtotime(date(base64_decode('ZC1tLVk=')))){if($l18[r2($d14)][base64_decode('QWN0aXZlZA==')]==r2(base64_decode('dHJ1ZQ=='))){if($l18[r2($d14)][base64_decode('dXNlckFnZW50')]==base64_decode('bnVsbA==')){$l18[r2($d14)][base64_decode('dXNlckFnZW50')]=r2($c17);}if($l18[r2($d14)][base64_decode('dXNlckFnZW50')]==r2($c17)){$l18[r2($d14)][base64_decode('TGFzdExvZ2lu')]=r2(date(base64_decode('ZC1tLVk=')));if($l18[r2($d14)][base64_decode('TGV2ZWw=')]!=null){if($l18[r2($d14)][base64_decode('TGV2ZWw=')]==1){$f19=str_replace(base64_decode('UmVzcG9uc2UsIlxcbiI='),base64_decode('UmVzcG9uc2UsIlxuIg=='),str_replace(base64_decode('VVJMMw=='),$g9,str_replace(base64_decode('VVJMMg=='),$p8,str_replace(base64_decode('VVJMMQ=='),$c7,str_replace(base64_decode('R1NVQk1F'),$d14.base64_decode('Ojo6').$o15,str_replace(base64_decode('S0VZMQ=='),$wa,str_replace(base64_decode('S0VZMg=='),$vb,str_replace(base64_decode('S0VZMw=='),$ac,q1(file_get_contents(base64_decode('QmFzZUNyeXB0')))))))))));exit(v0($f19));return;}}file_put_contents($p16,json_encode($l18,true));$c1a=base64_decode('4pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW0CuKAoiBQbGFuIDogUHJpY2UgCgrigKIgVGVsZWdyYW0gQ2hhbm5lbCA6IGh0dHBzOi8vdC5tZS9PU0lLVEhFU1BJS0UK4pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW0CgrigKIgRXhwaXJlIFRpbWUgOiA=').q4($l18[r2($d14)][base64_decode('RXhwaXJlRGF0YQ==')].base64_decode('4pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW04pW0'));exit(v0($c1a.base64_decode('e1NlUGFyYXRvcn17U2VQYXJhdG9yfXtTZXBhcmF0b3J9').file_get_contents($j6)));return;}else{x5(base64_decode('4pqgIERldGVjdGVkOiBTY3JpcHQgT25seSBXb3JrcyBJbiBPbmUgTW9iaWxlIFBob25lLCBDb250YWN0IEFkbWluIFRvIFJlc2V0IFlvdXIgS2V5IOKaoA=='));}}else{x5(base64_decode('4pqgIE9mZmxpbmUgQWNjb3VudCwgUGxlYXNlIENvbnRhY3QgVG8gVGhlIEFkbWluIOKaoA=='));return;}}else{x5(base64_decode('4pqgIFlvdXIgU3Vic2NyaXB0aW9uIEhhcyBFeHBpcmVkLCBZb3UgQ2FuIFRhbGsgVG8gVGhlIEFkbWluIEFuZCBSZW5ldyBJdCDimqA='));}}else{x5(base64_decode('4pqgIFBhc3N3b3JkIFdyb25nIOKaoA=='));return;}}else{x5(base64_decode('4pqgIFVzZXIgRG9lcyBOb3QgUmVnaXN0ZXJlZCDimqA='));return;}?>

Function Calls

None

Variables

None

Stats

MD5 fbbf84bb27eddc2487599b31b9f96ab0
Eval Count 0
Decode Time 53 ms