TPHP_Encrypted 混淆解密函数
时间:2024年05月25日
/来源:网络
/编辑:佚名
php混淆加密解密方法分享。
<?php @TPHP_Encrypted - 20131105;
unset($php_errormsg);
$php = file_get_contents(Ãã²ö¤¯ø§ø);
$id = chr(034).chr(211).chr(49).chr(66);
$id = strpos($php,$id) + 4;
$php = substr($php,$id);
$pwd = substr($php,3,3);
$len_1 = ord(substr($php,2,1));
$len_2 = ord(substr($php,6,1));
$php = substr($php,$len_1+7,-$len_2);
$php = $úý£¼©à(gzuncompress($php),$pwd);
$_v_1 = 'ÅÀ®üýíëÁÔ';
$php = 'unset ($php,$id,$pwd,$len_1,$len_2,$_v_1);'.$php.';';
@preg_replace("/$_v_1/e",'eval($php)','ÅÀ®üýíëÁÔ');
//echo $php = preg_replace("/$_v_1/e",'($php)','ÅÀ®üýíëÁÔ');
//file_put_contents("aaa.php",$php);
<?php @TPHP_Encrypted - 20131105;
unset($php_errormsg);
$php = file_get_contents(Ãã²ö¤¯ø§ø);
$id = chr(034).chr(211).chr(49).chr(66);
$id = strpos($php,$id) + 4;
$php = substr($php,$id);
$pwd = substr($php,3,3);
$len_1 = ord(substr($php,2,1));
$len_2 = ord(substr($php,6,1));
$php = substr($php,$len_1+7,-$len_2);
$php = $úý£¼©à(gzuncompress($php),$pwd);
$_v_1 = 'ÅÀ®üýíëÁÔ';
$php = 'unset ($php,$id,$pwd,$len_1,$len_2,$_v_1);'.$php.';';
@preg_replace("/$_v_1/e",'eval($php)','ÅÀ®üýíëÁÔ');
//echo $php = preg_replace("/$_v_1/e",'($php)','ÅÀ®üýíëÁÔ');
//file_put_contents("aaa.php",$php);
新闻资讯 更多