首页 | 注册 | 登录 | 归档 | 搜索 | 标签 | 在线工具

flashfxp解密

amxku PS:一个是7j写的,一个是国外的,相比之下,国外的那个东,速度要快一些,7J可能该郁闷了。呵呵,学习学习 function flashfxp($data)
     {
     
$pass=substr($data2);


    
$flashfxp_key = array(y,0,A,0,3,0,6,0,z,0,A,0,4,0,8,0,d,0,E,0,h,0,f,0,r,0,v,0,g,0,h,0,G,0,R,0,g,0,5,0,7,0,h,0,5,0,U,0,l,0,D,0,v,0,3);


     for (
$i=0$i strlen($data) - 2$i+=2)
             {
             
$run = (Hexdec(substr($pass$i2)) ^ Hexdec(DecHex(ord($flashfxp_key[$i])))) - Hexdec(substr($data$i2));


             if (
$run 0)
                 
$run=$run 255;


             
$Num.=chr($run);
             }


     return 
$Num;
     }

国外的一个 function decryptffxp($ciphertext)
     {
     
$magic_buffer="yA36zA48dEhfrvghGRg57h5UlDv3";
     
$count         =0;
     
$length         =strlen($ciphertext);


     while (
$count $length)
             {
             
$cts.=chr(hexdec($ciphertext[$count] . $ciphertext[$count 1]));
             
$count+=2;
             }


     
$length =strlen($cts);
     
$count     =0;
     
$mbcount=0;


     while (
$count $length)
             {
             
$foo ord($cts[$count 1]) ^ ord($magic_buffer[$mbcount]);


             if (
$foo ord($cts[$count]) < 0)
                 {
                 
$plaintext.=chr($foo ord($cts[$count]) + 255);
                 }
             else
                 {
                 
$plaintext.=chr($foo ord($cts[$count]));
                 }


             
$count++;
             
$mbcount++;


             if (
$mbcount == 28)
                 {
                 
$mbcount=0;
                 }
             }


     return 
$plaintext;
     }

Tags: 免杀破解, 学习, php, 代码收藏

Address: http://www.amxku.net/flashfxp-password/

上一篇 »» 这Y的真逗
下一篇 »» 虚拟主机C盘权限设置 [IIS] V1.3

相关文章

网友评论

5555555...为什么做人的差距这么大呢...
Post by 7j(61.186.*.*) on 2007-07-09, 15:37 Quote #1
完了,完了,受打击了
Post by amxku(218.80.*.*) on 2007-07-09, 15:54 Quote #2
啊,在黄浦江上.

<自 WAP 发表>
Post by 4mxku(211.136.*.*) on 2007-07-14, 23:35 Quote #3

发表评论

评论内容: