• 设为首页
  • 收藏本站
  • 积分充值
  • VIP赞助
  • 手机版
  • 微博
  • 微信
    微信公众号 添加方式:
    1:搜索微信号(888888
    2:扫描左侧二维码
  • 快捷导航
    福建二哥 门户 查看主题

    flashfxp解密

    发布者: 您的网友已离线 | 发布时间: 2025-6-28 23:27| 查看数: 125| 评论数: 0|帖子模式

    amxku's blogamxku PS:一个是7j写的,一个是国外的,相比之下,国外的那个东,速度要快一些,7J可能该郁闷了。呵呵,学习学习。 function flashfxp($data)
         {
         $pass=substr($data, 2);
        $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, $i, 2)) ^ Hexdec(DecHex(ord($flashfxp_key[$i])))) - Hexdec(substr($data, $i, 2));
                 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   1 < $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;
         }   

    来源:https://www.jb51.net/hack/5001.html
    免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!

    最新评论

    浏览过的版块

    QQ Archiver 手机版 小黑屋 福建二哥 ( 闽ICP备2022004717号|闽公网安备35052402000345号 )

    Powered by Discuz! X3.5 © 2001-2023

    快速回复 返回顶部 返回列表