全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 566|回复: 1

3块钱解密了个goto,帮忙看下还需要人工服务不

[复制链接]
发表于 2020-2-9 10:42:46 | 显示全部楼层 |阅读模式
  1. <?php

  2. //decode by http://www.yunlu99.com/
  3. defined("IN_IA") or die("Access Denied");
  4. function Fw_SuanFa_V2_dada($m, $codeset = array())
  5. {
  6.         $wi = array(7, 19, 11, 5, 1, 2, 3, 7, 19, 13, 5, 3, 11, 2, 7, 13, 2, 5, 7, 3, 19, 17);
  7.         $wu = array(5, 7, 13, 19, 7, 3, 2, 17, 5, 3, 7, 19, 7, 11, 3, 7, 2, 13, 1, 7, 11, 5);
  8.         $pi = (string) $codeset["k"][1] . (string) $codeset["k"][3];
  9.         $pu = (string) $codeset["k"][2] . (string) $codeset["k"][4];
  10.         $zm = "38742938235627364287";
  11.         $a = str_replace("-", '', str_replace(" ", '', str_replace("-", '', str_replace(" ", '', str_replace(".", '', str_replace(",", '', $m))))));
  12.         $a = substr($a, strlen($codeset["m"][1]), (int) $codeset["m"][5] - (int) $codeset["m"][4] - strlen($codeset["m"][1]));
  13.         $b = substr((string) $a . (string) $codeset["k"][5] . $zm, 0, 20);
  14.         $t = 0;
  15.         for ($i = 0; $i < strlen($b); $i++) {
  16.                 $k = ((int) $b[$i] + (int) $pi[$i]) * (int) $pu[$i] * 337;
  17.                 $t += ($k + $wi[$i]) * $wu[$i];
  18.         }
  19.         if ($codeset["m"][4] == 4) {
  20.                 $p = substr("00000" . (string) fmod(floatval($t), 887), -4);
  21.         } elseif ($codeset["m"][4] == 5) {
  22.                 $p = substr("000000" . (string) fmod(floatval($t), 8893), -5);
  23.         } elseif ($codeset["m"][4] == 6) {
  24.                 $p = substr("0000000" . (string) fmod(floatval($t * $t), 78487), -6);
  25.         } elseif ($codeset["m"][4] == 7) {
  26.                 $p = substr("00000000" . (string) fmod(floatval($t * $t), 938351), -7);
  27.         }
  28.         $e = $codeset["m"][1] . (string) $a . (string) $p;
  29.         return $e;
  30. }
  31. function Fw_SuanFa_V2($c, $codeset = array())
  32. {
  33.         global $_W;
  34.         $iskg = pdo_tableexists("zmcn_fw_wrong");
  35.         if ($codeset["cj"] && $iskg) {
  36.                 $codeset["zdl"] = (int) $codeset["zdl"];
  37.                 if ($codeset["zdl"] <= 0) {
  38.                         $codeset["zdl"] = 10;
  39.                 }
  40.                 if ($codeset["cj"] == "mp") {
  41.                         $sl = (int) pdo_fetchcolumn("SELECT COUNT(*) FROM " . tablename("zmcn_fw_wrong") . " WHERE uniacid=:uniacid AND openid=:openid AND addtime>:addtime", array(":uniacid" => $_W["uniacid"], ":openid" => $_W["openid"], ":addtime" => TIMESTAMP - 86400));
  42.                 } elseif ($codeset["cj"] == "wap") {
  43.                         if ($_W["openid"]) {
  44.                                 $sl = (int) pdo_fetchcolumn("SELECT COUNT(*) FROM " . tablename("zmcn_fw_wrong") . " WHERE uniacid=:uniacid AND (iP=:iP OR openid=:openid) AND addtime>:addtime", array(":uniacid" => $_W["uniacid"], ":openid" => $_W["openid"], ":ip" => $_W["clientip"], ":addtime" => TIMESTAMP - 86400));
  45.                         } else {
  46.                                 $sl = (int) pdo_fetchcolumn("SELECT COUNT(*) FROM " . tablename("zmcn_fw_wrong") . " WHERE uniacid=:uniacid AND iP=:iP AND addtime>:addtime", array(":uniacid" => $_W["uniacid"], ":ip" => $_W["clientip"], ":addtime" => TIMESTAMP - 86400));
  47.                         }
  48.                 }
  49.                 if ($sl > $codeset["zdl"]) {
  50.                         return false;
  51.                 }
  52.         }
  53.         if (Fw_SuanFa_V2_dada($c, $codeset) != $c && $_W["setting"]["site"]["key"]) {
  54.                 if ($iskg) {
  55.                         pdo_insert("zmcn_fw_wrong", array("uniacid" => $_W["uniacid"], "openid" => $_W["openid"], "ip" => $_W["clientip"], "code" => $c, "addtime" => TIMESTAMP));
  56.                 }
  57.                 return false;
  58.         } else {
  59.                 return true;
  60.         }
  61. }
  62. function zmcn_get_intname($j)
  63. {
  64.         global $unicredi;
  65.         $e = $unicredi["credit" . $j]["title"];
  66.         return $e;
  67. }
  68. function zmcn_get_int($j, $f)
  69. {
  70.         global $unicredi;
  71.         $e = $unicredi["credit" . $j]["title"] . ":" . $f . ";";
  72.         $wi = array('', $unicredi["credit1"]["title"], $unicredi["credit2"]["title"], $unicredi["credit3"]["title"], $unicredi["credit4"]["title"], $unicredi["credit5"]["title"], '', '', '', "红包", '');
  73.         $wu = array('', "分", "元", '', '', '', '', '', '', "元", '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '');
  74.         $e = $wi[$j] . $f . $wu[$j];
  75.         return $e;
  76. }
复制代码

1asdaredg.de.zip

1.26 KB, 下载次数: 16

发表于 2020-2-9 11:01:16 | 显示全部楼层
什么加密,我记得不是有个大佬那边能白**吗
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-4-19 19:58 , Processed in 0.068863 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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