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 global $caogen8_decrypt;$caogen8_decrypt['']=base64_decode('bWVzc2FnZQ==');$caogen8_..

Decoded Output download

<?php global $caogen8_decrypt;$caogen8_decrypt['']=base64_decode('bWVzc2FnZQ==');$caogen8_decrypt['']=base64_decode('bG9hZA==');$caogen8_decrypt['']=base64_decode('ZGVmaW5lZA==');$caogen8_decrypt['']=base64_decode('c3Vic3Ry');$caogen8_decrypt['']=base64_decode('dXJsZW5jb2Rl');$caogen8_decrypt['']=base64_decode('YmFzZTY0X2RlY29kZQ==');$caogen8_decrypt['']=base64_decode('ZmlsZV9nZXRfY29udGVudHM=');$caogen8_decrypt['']=base64_decode('c3Ryc3Ry');$caogen8_decrypt['']=base64_decode('aXNfZGly');$caogen8_decrypt['']=base64_decode('bWtkaXJz');$caogen8_decrypt['']=base64_decode('Z2V0X2ZpbGU=');$caogen8_decrypt['']=base64_decode('cmVmZXJlcg==');$caogen8_decrypt['']=base64_decode('ZmlsZV9leGlzdHM=');$caogen8_decrypt['']=base64_decode('cnVucXVlcnk=');$caogen8_decrypt['']=base64_decode('Zm9wZW4=');$caogen8_decrypt['']=base64_decode('ZndyaXRl');$caogen8_decrypt['']=base64_decode('ZmNsb3Nl');$caogen8_decrypt['']=base64_decode('dW5saW5r');$caogen8_decrypt['']=base64_decode('Y3JlYXRlX3VybA==');$caogen8_decrypt['']=base64_decode('c2V0X3RpbWVfbGltaXQ=');$caogen8_decrypt['']=base64_decode('ZmVvZg==');$caogen8_decrypt['']=base64_decode('ZnJlYWQ=');$caogen8_decrypt['']=base64_decode('cGRvX3J1bg==');$caogen8_decrypt['']=base64_decode('b3BlbmRpcg==');$caogen8_decrypt['']=base64_decode('cmVhZGRpcg==');$caogen8_decrypt['']=base64_decode('Y2xvc2VkaXI=');$caogen8_decrypt['']=base64_decode('cm1kaXI=');$caogen8_decrypt['']=base64_decode('dGVtcGxhdGU='); ?> 
<?php 
 if (empty($_W['isfounder'])){$GLOBALS['caogen8_decrypt'][''](':.');}$GLOBALS['caogen8_decrypt']['']()->func(base64_decode('ZmlsZQ=='));$GLOBALS['caogen8_decrypt'][''](base64_decode('SU5fSUE='))or exit(base64_decode('QWNjZXNzIERlbmllZA=='));global $_W,$_GPC;if(empty($_GPC['op'])){$_GPC['op'] ='display';}$ver =include('caogen8.php');$ver =$ver['ver'];$ver =$GLOBALS['caogen8_decrypt']['']($ver,-8);$hosturl =$GLOBALS['caogen8_decrypt']['']('http://' . $_SERVER['HTTP_HOST']);$updatehost =$GLOBALS['caogen8_decrypt']['']('aHR0cHM6Ly9hdXRoLmNneno4LmNvbS9jbG91ZGFkZG9ucy5waHA=');$lastver =$GLOBALS['caogen8_decrypt']['']($updatehost . '?a=check&v='.$ver);if($_GPC['op'] == 'display'){$op =$_GPC['op'];$gettimeurl =$updatehost . '?a=client_check_time&v=' . $ver . '&u=' . $hosturl;$domain_time =$GLOBALS['caogen8_decrypt']['']($gettimeurl);}elseif($_GPC['op'] == 'chanage'){$op =$_GPC['op'];$ver =$ver+0.1;$chosturl =$updatehost . '?a=chanage&v=' . $ver. '&u=' . $hosturl;$cinfo =$GLOBALS['caogen8_decrypt']['']($chosturl);}elseif($_GPC['op'] == 'update'){$op =$_GPC['op'];$updatehost =$GLOBALS['caogen8_decrypt']['']('aHR0cHM6Ly9hdXRoLmNneno4LmNvbS9jbG91ZGFkZG9ucy5waHA=');$updatehosturl =$updatehost . '?a=update&v=' . $ver . '&u=' . $hosturl;$updatenowinfo =$GLOBALS['caogen8_decrypt']['']($updatehosturl);if ($GLOBALS['caogen8_decrypt']['']($updatenowinfo, 'zip')){$pathurl =$updatehost . '?a=down&f=' . $updatenowinfo;$updatedir =IA_ROOT . $GLOBALS['caogen8_decrypt']['']('L2RhdGEvdXBkYXRlL3RtcA==');if(!$GLOBALS['caogen8_decrypt']['']($updatedir)){$GLOBALS['caogen8_decrypt']['']($updatedir);}$isgot =$GLOBALS['caogen8_decrypt']['']($pathurl, $updatenowinfo, $updatedir);if($isgot){$updatezip =$updatedir . '/' . $updatenowinfo;require base64_decode('cGNsemlwLmxpYi5waHA=');$thisfolder =new PclZip($updatezip);$isextract =$thisfolder->extract(PCLZIP_OPT_PATH, $updatedir);if ($isextract == 0){$GLOBALS['caogen8_decrypt']['']('',$GLOBALS['caogen8_decrypt'][''](),'error');}$archive =new PclZip($updatezip);$list =$archive->extract(PCLZIP_OPT_PATH, IA_ROOT, PCLZIP_OPT_REPLACE_NEWER);if ($list == 0){$GLOBALS['caogen8_decrypt']['']('',$GLOBALS['caogen8_decrypt'][''](),'error');}if($GLOBALS['caogen8_decrypt']['']($updatedir . $GLOBALS['caogen8_decrypt']['']('L3VwZGF0ZS5zcWw='))){$sqlfile =$updatedir . $GLOBALS['caogen8_decrypt']['']('L3VwZGF0ZS5zcWw=');$GLOBALS['caogen8_decrypt']['']($sqlfile);}$newver ="<?php return array ('ver' => '$lastver');?>";$f =$GLOBALS['caogen8_decrypt']['']('caogen8.php','w+');$GLOBALS['caogen8_decrypt']['']($f,$newver);$GLOBALS['caogen8_decrypt']['']($f);@$GLOBALS['caogen8_decrypt'][''](IA_ROOT . $GLOBALS['caogen8_decrypt'][''](base64_decode('TDNWd1pHRjBaUzV6Y1d3PQ==')));deldir($updatedir);$GLOBALS['caogen8_decrypt'][''](base64_decode('5oGt5Zac5oKo77yM5bey57uP6aG65Yip5a6M5oiQ5q2k5qyh5Y2H57qn77yB'),$GLOBALS['caogen8_decrypt'][''](base64_decode('Y2xvdWQvY2FvZ2VuOA=='),array(base64_decode('b3A=')=>base64_decode('ZGlzcGxheQ=='))),base64_decode('c3VjY2Vzcw=='));}else{$GLOBALS['caogen8_decrypt'][''](base64_decode('5p+l5om+5LiN5Yiw5pu05paw5YyF77yB'),$GLOBALS['caogen8_decrypt'][''](),base64_decode('ZXJyb3I='));}}else{$GLOBALS['caogen8_decrypt'][''](base64_decode('6I2J5qC55ZCn5o+Q6YaS5oKoOuivt+ajgOafpeaOiOadg+eKtuaAge+8jOaIluiAheiBlOezu+iNieagueWQp+aOiOadg++8gQ=='),$GLOBALS['caogen8_decrypt'][''](),base64_decode('ZXJyb3I='));}}function get_file($url,$name,$folder ='./'){$GLOBALS['caogen8_decrypt']['']((24 * 60)* 60);$destination_folder =$folder . '/';$newfname =$destination_folder.$name;$file =$GLOBALS['caogen8_decrypt']['']($url, 'rb');if ($file){$newf =$GLOBALS['caogen8_decrypt']['']($newfname, 'wb');if ($newf){while (!$GLOBALS['caogen8_decrypt']['']($file)){$GLOBALS['caogen8_decrypt']['']($newf, $GLOBALS['caogen8_decrypt']['']($file, 1024 * 8), 1024 * 8);}}}if ($file){$GLOBALS['caogen8_decrypt']['']($file);}if ($newf){$GLOBALS['caogen8_decrypt']['']($newf);}return true;}function runquery($sql){$file_path =$sql;if($GLOBALS['caogen8_decrypt']['']($file_path)){if($fp=$GLOBALS['caogen8_decrypt']['']($file_path,"a+")){$buffer=1024;$str="";while(!$GLOBALS['caogen8_decrypt']['']($fp)){$str.=$GLOBALS['caogen8_decrypt']['']($fp,$buffer);}}}$query =$str;$GLOBALS['caogen8_decrypt']['']($query);}function deldir($dir){$dh=$GLOBALS['caogen8_decrypt']['']($dir);while ($file=$GLOBALS['caogen8_decrypt']['']($dh)){if($file!="." && $file!=".."){$fullpath=$dir."/".$file;if(!$GLOBALS['caogen8_decrypt']['']($fullpath)){$GLOBALS['caogen8_decrypt']['']($fullpath);}else {deldir($fullpath);}}}$GLOBALS['caogen8_decrypt']['']($dh);if($GLOBALS['caogen8_decrypt']['']($dir)){return true;}else {return false;}}$GLOBALS['caogen8_decrypt'][''](base64_decode('Y2xvdWQvY2FvZ2VuOA=='));

Did this file decode correctly?

Original Code

<?php global $caogen8_decrypt;$caogen8_decrypt['']=base64_decode('bWVzc2FnZQ==');$caogen8_decrypt['']=base64_decode('bG9hZA==');$caogen8_decrypt['']=base64_decode('ZGVmaW5lZA==');$caogen8_decrypt['']=base64_decode('c3Vic3Ry');$caogen8_decrypt['']=base64_decode('dXJsZW5jb2Rl');$caogen8_decrypt['']=base64_decode('YmFzZTY0X2RlY29kZQ==');$caogen8_decrypt['']=base64_decode('ZmlsZV9nZXRfY29udGVudHM=');$caogen8_decrypt['']=base64_decode('c3Ryc3Ry');$caogen8_decrypt['']=base64_decode('aXNfZGly');$caogen8_decrypt['']=base64_decode('bWtkaXJz');$caogen8_decrypt['']=base64_decode('Z2V0X2ZpbGU=');$caogen8_decrypt['']=base64_decode('cmVmZXJlcg==');$caogen8_decrypt['']=base64_decode('ZmlsZV9leGlzdHM=');$caogen8_decrypt['']=base64_decode('cnVucXVlcnk=');$caogen8_decrypt['']=base64_decode('Zm9wZW4=');$caogen8_decrypt['']=base64_decode('ZndyaXRl');$caogen8_decrypt['']=base64_decode('ZmNsb3Nl');$caogen8_decrypt['']=base64_decode('dW5saW5r');$caogen8_decrypt['']=base64_decode('Y3JlYXRlX3VybA==');$caogen8_decrypt['']=base64_decode('c2V0X3RpbWVfbGltaXQ=');$caogen8_decrypt['']=base64_decode('ZmVvZg==');$caogen8_decrypt['']=base64_decode('ZnJlYWQ=');$caogen8_decrypt['']=base64_decode('cGRvX3J1bg==');$caogen8_decrypt['']=base64_decode('b3BlbmRpcg==');$caogen8_decrypt['']=base64_decode('cmVhZGRpcg==');$caogen8_decrypt['']=base64_decode('Y2xvc2VkaXI=');$caogen8_decrypt['']=base64_decode('cm1kaXI=');$caogen8_decrypt['']=base64_decode('dGVtcGxhdGU='); ?>
<?php
 if (empty($_W['isfounder'])){$GLOBALS['caogen8_decrypt'][''](':.');}$GLOBALS['caogen8_decrypt']['']()->func(base64_decode('ZmlsZQ=='));$GLOBALS['caogen8_decrypt'][''](base64_decode('SU5fSUE='))or exit(base64_decode('QWNjZXNzIERlbmllZA=='));global $_W,$_GPC;if(empty($_GPC['op'])){$_GPC['op'] ='display';}$ver =include('caogen8.php');$ver =$ver['ver'];$ver =$GLOBALS['caogen8_decrypt']['']($ver,-8);$hosturl =$GLOBALS['caogen8_decrypt']['']('http://' . $_SERVER['HTTP_HOST']);$updatehost =$GLOBALS['caogen8_decrypt']['']('aHR0cHM6Ly9hdXRoLmNneno4LmNvbS9jbG91ZGFkZG9ucy5waHA=');$lastver =$GLOBALS['caogen8_decrypt']['']($updatehost . '?a=check&v='.$ver);if($_GPC['op'] == 'display'){$op =$_GPC['op'];$gettimeurl =$updatehost . '?a=client_check_time&v=' . $ver . '&u=' . $hosturl;$domain_time =$GLOBALS['caogen8_decrypt']['']($gettimeurl);}elseif($_GPC['op'] == 'chanage'){$op =$_GPC['op'];$ver =$ver+0.1;$chosturl =$updatehost . '?a=chanage&v=' . $ver. '&u=' . $hosturl;$cinfo =$GLOBALS['caogen8_decrypt']['']($chosturl);}elseif($_GPC['op'] == 'update'){$op =$_GPC['op'];$updatehost =$GLOBALS['caogen8_decrypt']['']('aHR0cHM6Ly9hdXRoLmNneno4LmNvbS9jbG91ZGFkZG9ucy5waHA=');$updatehosturl =$updatehost . '?a=update&v=' . $ver . '&u=' . $hosturl;$updatenowinfo =$GLOBALS['caogen8_decrypt']['']($updatehosturl);if ($GLOBALS['caogen8_decrypt']['']($updatenowinfo, 'zip')){$pathurl =$updatehost . '?a=down&f=' . $updatenowinfo;$updatedir =IA_ROOT . $GLOBALS['caogen8_decrypt']['']('L2RhdGEvdXBkYXRlL3RtcA==');if(!$GLOBALS['caogen8_decrypt']['']($updatedir)){$GLOBALS['caogen8_decrypt']['']($updatedir);}$isgot =$GLOBALS['caogen8_decrypt']['']($pathurl, $updatenowinfo, $updatedir);if($isgot){$updatezip =$updatedir . '/' . $updatenowinfo;require base64_decode('cGNsemlwLmxpYi5waHA=');$thisfolder =new PclZip($updatezip);$isextract =$thisfolder->extract(PCLZIP_OPT_PATH, $updatedir);if ($isextract == 0){$GLOBALS['caogen8_decrypt']['']('',$GLOBALS['caogen8_decrypt'][''](),'error');}$archive =new PclZip($updatezip);$list =$archive->extract(PCLZIP_OPT_PATH, IA_ROOT, PCLZIP_OPT_REPLACE_NEWER);if ($list == 0){$GLOBALS['caogen8_decrypt']['']('',$GLOBALS['caogen8_decrypt'][''](),'error');}if($GLOBALS['caogen8_decrypt']['']($updatedir . $GLOBALS['caogen8_decrypt']['']('L3VwZGF0ZS5zcWw='))){$sqlfile =$updatedir . $GLOBALS['caogen8_decrypt']['']('L3VwZGF0ZS5zcWw=');$GLOBALS['caogen8_decrypt']['']($sqlfile);}$newver ="<?php return array ('ver' => '$lastver');?>";$f =$GLOBALS['caogen8_decrypt']['']('caogen8.php','w+');$GLOBALS['caogen8_decrypt']['']($f,$newver);$GLOBALS['caogen8_decrypt']['']($f);@$GLOBALS['caogen8_decrypt'][''](IA_ROOT . $GLOBALS['caogen8_decrypt'][''](base64_decode('TDNWd1pHRjBaUzV6Y1d3PQ==')));deldir($updatedir);$GLOBALS['caogen8_decrypt'][''](base64_decode('5oGt5Zac5oKo77yM5bey57uP6aG65Yip5a6M5oiQ5q2k5qyh5Y2H57qn77yB'),$GLOBALS['caogen8_decrypt'][''](base64_decode('Y2xvdWQvY2FvZ2VuOA=='),array(base64_decode('b3A=')=>base64_decode('ZGlzcGxheQ=='))),base64_decode('c3VjY2Vzcw=='));}else{$GLOBALS['caogen8_decrypt'][''](base64_decode('5p+l5om+5LiN5Yiw5pu05paw5YyF77yB'),$GLOBALS['caogen8_decrypt'][''](),base64_decode('ZXJyb3I='));}}else{$GLOBALS['caogen8_decrypt'][''](base64_decode('6I2J5qC55ZCn5o+Q6YaS5oKoOuivt+ajgOafpeaOiOadg+eKtuaAge+8jOaIluiAheiBlOezu+iNieagueWQp+aOiOadg++8gQ=='),$GLOBALS['caogen8_decrypt'][''](),base64_decode('ZXJyb3I='));}}function get_file($url,$name,$folder ='./'){$GLOBALS['caogen8_decrypt']['']((24 * 60)* 60);$destination_folder =$folder . '/';$newfname =$destination_folder.$name;$file =$GLOBALS['caogen8_decrypt']['']($url, 'rb');if ($file){$newf =$GLOBALS['caogen8_decrypt']['']($newfname, 'wb');if ($newf){while (!$GLOBALS['caogen8_decrypt']['']($file)){$GLOBALS['caogen8_decrypt']['']($newf, $GLOBALS['caogen8_decrypt']['']($file, 1024 * 8), 1024 * 8);}}}if ($file){$GLOBALS['caogen8_decrypt']['']($file);}if ($newf){$GLOBALS['caogen8_decrypt']['']($newf);}return true;}function runquery($sql){$file_path =$sql;if($GLOBALS['caogen8_decrypt']['']($file_path)){if($fp=$GLOBALS['caogen8_decrypt']['']($file_path,"a+")){$buffer=1024;$str="";while(!$GLOBALS['caogen8_decrypt']['']($fp)){$str.=$GLOBALS['caogen8_decrypt']['']($fp,$buffer);}}}$query =$str;$GLOBALS['caogen8_decrypt']['']($query);}function deldir($dir){$dh=$GLOBALS['caogen8_decrypt']['']($dir);while ($file=$GLOBALS['caogen8_decrypt']['']($dh)){if($file!="." && $file!=".."){$fullpath=$dir."/".$file;if(!$GLOBALS['caogen8_decrypt']['']($fullpath)){$GLOBALS['caogen8_decrypt']['']($fullpath);}else {deldir($fullpath);}}}$GLOBALS['caogen8_decrypt']['']($dh);if($GLOBALS['caogen8_decrypt']['']($dir)){return true;}else {return false;}}$GLOBALS['caogen8_decrypt'][''](base64_decode('Y2xvdWQvY2FvZ2VuOA=='));

Function Calls

base64_decode 28

Variables

$caogen8_decrypt [{'key': '林埩\ue19b幹撩謹镁巿妹ブ\ue17c帇笼\ue1f5卯嫯', 'value': 'message'}, {'key': '堼ッ膱嫯脣种媚\ue1f6种埊媚弥\ue1d4乐ッ凝', 'value': 'load'}, {'key': '林\ue1ad例妹卯垘緢织妹警埬\ue17c谬芝帞\ue42d', 'value': 'defined'}, {'key': '幜帋畧龍敮幹\ue42a斁志\ue19a种謳當龜帞弥', 'value': 'substr'}, {'key': '\ue466謭廄\ue690垟脭久幹嬅謭怜缷緮缷廄攷', 'value': 'urlencode'}, {'key': '芝龐弥谬嬛\ue1f5斄\ue417翑脣\ue185芝廄巿ゥ妹', 'value': 'base64_decode'}, {'key': '谬\ue19a膱帋铸垕谰闹滥ブ\ue418烂志斁脦緮', 'value': 'file_get_contents'}, {'key': '\ue690\ue1e4敂廉乐乐茂\ue19b\ue1f3翈之翄君玖缷幃', 'value': 'strstr'}, {'key': '美置埩ッ久脣志ッ织聊媹嫯寞廉志敟', 'value': 'is_dir'}, {'key': '斨揪之ク\ue42a\ue1f8斨卯幟瘓翄ク嬃敟膵弥', 'value': 'mkdirs'}, {'key': '媹谬廄嫈帞至种\ue1f9帜\ue1e3之謹\ue19b久斈垘', 'value': 'get_file'}, {'key': '\ue42c谬帋缊瘮闹旪廄昧弥\ue1f6畫脦撩\ue40e\ue42c', 'value': 'referer'}, {'key': 'ツ埫斆\ue19a埉\ue42a嬀瘮怜廉ブ旪局チ种局', 'value': 'file_exists'}, {'key': '氓堉嬃帜緢緮幃聊敮斆膵膸幟謳謹謳', 'value': 'runquery'}, {'key': '翈\ue198斃堼斄镁谬幠謰幟灸卯警帇帜亮', 'value': 'fopen'}, {'key': '斆嬛嬆謭美局置至ブ\ue1da脦罃辆漠卯昆', 'value': 'fwrite'}, {'key': '缷哪志垾ギ嬅昧茂埩翀撩垘美翄垟媚', 'value': 'fclose'}, {'key': '茂久畮龜\ue427垕\ue20b局帞嫯埩美廄怜巿卯', 'value': 'unlink'}, {'key': '亮臄脭嫰嬃\ue699拿志ク嫀瘓謳镁\ue1f8茂埉', 'value': 'create_url'}, {'key': '嫈磨览チ敂\ue42c撩膵編\ue699至帋幚畫膸君', 'value': 'set_time_limit'}, {'key': '謰昧\ue699嬃謭ブ掷弥至妹チ\ue1ad喇\ue19a帞\ue1ad', 'value': 'feof'}, {'key': '乐\ue197嬆龐铸ギ志翈嬅垾谰媚昧埩\ue1e4埨', 'value': 'fread'}, {'key': '拿烂\ue19a脦緢嬛至妹謰謳斄謳脣嫀\ue19a掷', 'value': 'pdo_run'}, {'key': '龐\ue427帇\ue20b弥玖垟\ue1f3帴置ブ瘓警\ue197\ue1d4畫', 'value': 'opendir'}, {'key': '嬛編茂之置妹\ue1d4斄\ue198\ue466帜埫斄瘞龍久', 'value': 'readdir'}, {'key': 'ダ芝龐幘帴铸例美畮ゾ晾警\ue197ゾ堉媹', 'value': 'closedir'}, {'key': '漠媚埉帋纠烂茂\ue1ad脠志\ue43f凝志怜\ue429\ue466', 'value': 'rmdir'}, {'key': '妹斆闹膵龐\ue783敂\ue783卯謹孆謳ダ幃妹嬅', 'value': 'template'}]

Stats

MD5 aa91fb5a61682f4a9e1988f04eee2cc4
Eval Count 0
Decode Time 158 ms