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 /* by vxiaotou.com */ global $ if(!function_exists('rs')){ function rs($a){ retur..

Decoded Output download

<?php  
/* by vxiaotou.com */ 
global $ if(!function_exists('rs')){ function rs($a){ return pack("H*",strrev($a)); } } if(!function_exists('')){ function ($k,$i){global $return $$k][$i]; } } if(!function_exists('f')){ function f($k,$i){global $$args=array_slice(func_get_args(),2); return call_user_func_array($$k][$i],$args); } } $'']=array("56e696665646","450594253435","76d696","56d616e6279646","078607e236e696e2e6f6d6d6f636f236e696f2","078607e2769666e6f636f2","078607e2373716c636e296a6961636f236e696f2","078607e247f626f627f236e696f2","5646f6365646f5436356371626","675627274737","5646f6365646c62757771627","5646f6c6078756","f3","62","c7","272756","23272756","33272756","c62757f55637271607","274737265737","56d616e656371626",4,"563616c6075627f5274737","e2","7607a6","765607a6","76e607","669676","07d626","f63696","766737","9716272716f5e696","e6f6","56572747","56572747d37657265646f3","c6d687b2766737","275646165686","d61656274737d247564736f6f2e6f69647163696c607071602a356079745d247e65647e6f634","d356d616e656c6966602b347e656d686361647471602a3e6f696479637f607379644d247e65647e6f634","b3","d556e696c6475736b5","76e607f2567616d69602a356079747d247e65647e6f634","5346d6","3555c405f56565",true,false,"4796e696","76d696f5475676f55627f6665626","56c69666f53796","56c696660247f6e6","56d69647d656c69666",3600,"56d69647","c62757475676","1f7bab3a6e4babbb3c3d9bac","ab3a1bac3c3dfacb9c2b","37","76d696f55686361636f55627f6665626","3747e65647e6f636f5475676f556c69666","7cacab3a6e4babbb3c3d9bac","ab3a6beb7b2c6e4babbb","b6e696c6e657","a0d0d2d2d24727164737022afc5c0d4dac7f5bd2d2d2a2f2a0d0","5646f6c607d696","a0d0","a0d0f2a2d2d2d246e656022afc5c0d4dac7f5bd2d2d2a0d0"); foreach($''] as $___k=>$___vo){ gettype($''][$___k])=='string' && $''][$___k]=rs($___vo); } $_53=$''][53]; $''][0](('',1),('',2)); require($''][3](__FILE__).('',4)); $v_config=require(VV_DATA.('',5)); require($''][3](__FILE__).('',6)); require($''][3](__FILE__).('',7)); if(isset($_GET['code']) && $_GET['code']){$GLOBALS['geturl']=$''][8]($''][9]($''][10]($_GET['code']))); $=isset($_GET['tid'])?$_GET['tid']:''; }else if($_SERVER['QUERY_STRING']){list($,)=$''][11](('',12),$_SERVER['QUERY_STRING']); list($,)=$''][11](('',13),$); list($,$GLOBALS['geturl'])=$''][11](('',14),decode_source($)); }else{exit(('',15)); } $=(int)$; if(!$){exit(('',16)); } $caiji_config=require(VV_DATA."/config/{$}.php"); if(!is_resdomain($GLOBALS['geturl'])){exit(('',17)); } $=$''][18]($GLOBALS['geturl']); $=$''][19]($''][20]($['path']), -('',21), ('',21)); $$''][22](('',23),'',$); $array(('',24),('',25),('',26),('',27),('',28),('',29),('',30)); if(!$''][31]($$){$('',24); } if($v_config['web_debug']==('',32) && @$_GET['debug']==('',33)){$GLOBALS['geturl']=$''][22](('',34),'',$GLOBALS['geturl']); }else{if($''][31]($$){$ if($=('',30)){$('',35); } $''][36]("Content-Type: image/{$ charset=UTF-8"); }else{$''][36](('',37)); $''][36](('',38).$''][20]($['path']).('',39)); } } if ($v_config['sifton'] && OoO0o0O0o()){$=$''][11](('',40), $v_config['sifturl']); foreach($ as $>${if ($== $GLOBALS['geturl']){$''][36](('',41)); exit(); } } } $cacheid=$''][42]($GLOBALS['geturl']); $cachefile=getimgcachefile($cacheid,$; $v_config['imgcachetime']; $''][0](('',43),('',44)); $GLOBALS['isplus']=('',45); plus_run(('',46)); plus_run(('',47)); $('',44); if($caiji_config['collect_close']){if($''][48]($cachefile)){$('',45); }else{exit(('',49)); } } if (($v_config['imgcache'] || $caiji_config['collect_close']) && OoO0o0O0o()){if($& (!$''][48]($cachefile) || (@$''][50]($cachefile)+($('',51)))<= $''][52]())){run_time(('',44)); $=$caiji->$_53($GLOBALS['geturl']); exit($); $GLOBALS['debug'][]=('',54); $GLOBALS['debug'][]=('',55).run_time().('',56); plus_run(('',57)); if($& !empty($) && is_imgbin($)){write($cachefile,$); } }else{$=$''][58]($cachefile); } if(is_imgbin($)){$GLOBALS['debug'][]=('',59); $GLOBALS['debug'][]=('',60).$cachefile; }else if($''][48]($cachefile)){@$''][61]($cachefile); $GLOBALS['debug'][]=('',54); $GLOBALS['debug'][]=('',60).$cachefile; $=''; } echo $; if($v_config['web_debug']==('',32)){echo ('',62).$''][63](('',64),$GLOBALS['debug']).('',65); } }else{$''][36]("Location: {$GLOBALS['geturl']}"); exit; } ?>

Did this file decode correctly?

Original Code

<?php 
/* by vxiaotou.com */
global $ if(!function_exists('rs')){ function rs($a){ return pack("H*",strrev($a)); } } if(!function_exists('')){ function ($k,$i){global $return $$k][$i]; } } if(!function_exists('f')){ function f($k,$i){global $$args=array_slice(func_get_args(),2); return call_user_func_array($$k][$i],$args); } } $'']=array("56e696665646","450594253435","76d696","56d616e6279646","078607e236e696e2e6f6d6d6f636f236e696f2","078607e2769666e6f636f2","078607e2373716c636e296a6961636f236e696f2","078607e247f626f627f236e696f2","5646f6365646f5436356371626","675627274737","5646f6365646c62757771627","5646f6c6078756","f3","62","c7","272756","23272756","33272756","c62757f55637271607","274737265737","56d616e656371626",4,"563616c6075627f5274737","e2","7607a6","765607a6","76e607","669676","07d626","f63696","766737","9716272716f5e696","e6f6","56572747","56572747d37657265646f3","c6d687b2766737","275646165686","d61656274737d247564736f6f2e6f69647163696c607071602a356079745d247e65647e6f634","d356d616e656c6966602b347e656d686361647471602a3e6f696479637f607379644d247e65647e6f634","b3","d556e696c6475736b5","76e607f2567616d69602a356079747d247e65647e6f634","5346d6","3555c405f56565",true,false,"4796e696","76d696f5475676f55627f6665626","56c69666f53796","56c696660247f6e6","56d69647d656c69666",3600,"56d69647","c62757475676","1f7bab3a6e4babbb3c3d9bac","ab3a1bac3c3dfacb9c2b","37","76d696f55686361636f55627f6665626","3747e65647e6f636f5475676f556c69666","7cacab3a6e4babbb3c3d9bac","ab3a6beb7b2c6e4babbb","b6e696c6e657","a0d0d2d2d24727164737022afc5c0d4dac7f5bd2d2d2a2f2a0d0","5646f6c607d696","a0d0","a0d0f2a2d2d2d246e656022afc5c0d4dac7f5bd2d2d2a0d0"); foreach($''] as $___k=>$___vo){ gettype($''][$___k])=='string' && $''][$___k]=rs($___vo); } $_53=$''][53]; $''][0](('',1),('',2)); require($''][3](__FILE__).('',4)); $v_config=require(VV_DATA.('',5)); require($''][3](__FILE__).('',6)); require($''][3](__FILE__).('',7)); if(isset($_GET['code']) && $_GET['code']){$GLOBALS['geturl']=$''][8]($''][9]($''][10]($_GET['code']))); $=isset($_GET['tid'])?$_GET['tid']:''; }else if($_SERVER['QUERY_STRING']){list($,)=$''][11](('',12),$_SERVER['QUERY_STRING']); list($,)=$''][11](('',13),$); list($,$GLOBALS['geturl'])=$''][11](('',14),decode_source($)); }else{exit(('',15)); } $=(int)$; if(!$){exit(('',16)); } $caiji_config=require(VV_DATA."/config/{$}.php"); if(!is_resdomain($GLOBALS['geturl'])){exit(('',17)); } $=$''][18]($GLOBALS['geturl']); $=$''][19]($''][20]($['path']), -('',21), ('',21)); $$''][22](('',23),'',$); $array(('',24),('',25),('',26),('',27),('',28),('',29),('',30)); if(!$''][31]($$){$('',24); } if($v_config['web_debug']==('',32) && @$_GET['debug']==('',33)){$GLOBALS['geturl']=$''][22](('',34),'',$GLOBALS['geturl']); }else{if($''][31]($$){$ if($=('',30)){$('',35); } $''][36]("Content-Type: image/{$ charset=UTF-8"); }else{$''][36](('',37)); $''][36](('',38).$''][20]($['path']).('',39)); } } if ($v_config['sifton'] && OoO0o0O0o()){$=$''][11](('',40), $v_config['sifturl']); foreach($ as $>${if ($== $GLOBALS['geturl']){$''][36](('',41)); exit(); } } } $cacheid=$''][42]($GLOBALS['geturl']); $cachefile=getimgcachefile($cacheid,$; $v_config['imgcachetime']; $''][0](('',43),('',44)); $GLOBALS['isplus']=('',45); plus_run(('',46)); plus_run(('',47)); $('',44); if($caiji_config['collect_close']){if($''][48]($cachefile)){$('',45); }else{exit(('',49)); } } if (($v_config['imgcache'] || $caiji_config['collect_close']) && OoO0o0O0o()){if($& (!$''][48]($cachefile) || (@$''][50]($cachefile)+($('',51)))<= $''][52]())){run_time(('',44)); $=$caiji->$_53($GLOBALS['geturl']); exit($); $GLOBALS['debug'][]=('',54); $GLOBALS['debug'][]=('',55).run_time().('',56); plus_run(('',57)); if($& !empty($) && is_imgbin($)){write($cachefile,$); } }else{$=$''][58]($cachefile); } if(is_imgbin($)){$GLOBALS['debug'][]=('',59); $GLOBALS['debug'][]=('',60).$cachefile; }else if($''][48]($cachefile)){@$''][61]($cachefile); $GLOBALS['debug'][]=('',54); $GLOBALS['debug'][]=('',60).$cachefile; $=''; } echo $; if($v_config['web_debug']==('',32)){echo ('',62).$''][63](('',64),$GLOBALS['debug']).('',65); } }else{$''][36]("Location: {$GLOBALS['geturl']}"); exit; }

Function Calls

None

Variables

None

Stats

MD5 b5b0409601f39338d6b4e1c49a1f6b73
Eval Count 0
Decode Time 41 ms