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 |
Stats
MD5 | aa91fb5a61682f4a9e1988f04eee2cc4 |
Eval Count | 0 |
Decode Time | 158 ms |