qxwo 大佬有话说 :
3块钱解密了个goto,帮忙看下还需要人工服务不
<?php
//decode by http://www.yunlu99.com/
defined("IN_IA") or die("Access Denied");
function Fw_SuanFa_V2_dada($m, $codeset = array())
{
$wi = array(7, 19, 11, 5, 1, 2, 3, 7, 19, 13, 5, 3, 11, 2, 7, 13, 2, 5, 7, 3, 19, 17);
$wu = array(5, 7, 13, 19, 7, 3, 2, 17, 5, 3, 7, 19, 7, 11, 3, 7, 2, 13, 1, 7, 11, 5);
$pi = (string) $codeset["k"] . (string) $codeset["k"];
$pu = (string) $codeset["k"] . (string) $codeset["k"];
$zm = "38742938235627364287";
$a = str_replace("-", ”, str_replace(" ", ”, str_replace("-", ”, str_replace(" ", ”, str_replace(".", ”, str_replace(",", ”, $m))))));
$a = substr($a, strlen($codeset["m"]), (int) $codeset["m"] – (int) $codeset["m"] – strlen($codeset["m"]));
$b = substr((string) $a . (string) $codeset["k"] . $zm, 0, 20);
$t = 0;
for ($i = 0; $i < strlen($b); $i++) {
$k = ((int) $b[$i] + (int) $pi[$i]) * (int) $pu[$i] * 337;
$t += ($k + $wi[$i]) * $wu[$i];
}
if ($codeset["m"] == 4) {
$p = substr("00000" . (string) fmod(floatval($t), 887), -4);
} elseif ($codeset["m"] == 5) {
$p = substr("000000" . (string) fmod(floatval($t), 8893), -5);
} elseif ($codeset["m"] == 6) {
$p = substr("0000000" . (string) fmod(floatval($t * $t), 78487), -6);
} elseif ($codeset["m"] == 7) {
$p = substr("00000000" . (string) fmod(floatval($t * $t), 938351), -7);
}
$e = $codeset["m"] . (string) $a . (string) $p;
return $e;
}
function Fw_SuanFa_V2($c, $codeset = array())
{
global $_W;
$iskg = pdo_tableexists("zmcn_fw_wrong");
if ($codeset["cj"] && $iskg) {
$codeset["zdl"] = (int) $codeset["zdl"];
if ($codeset["zdl"] <= 0) {
$codeset["zdl"] = 10;
}
if ($codeset["cj"] == "mp") {
$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));
} elseif ($codeset["cj"] == "wap") {
if ($_W["openid"]) {
$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));
} else {
$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));
}
}
if ($sl > $codeset["zdl"]) {
return false;
}
}
if (Fw_SuanFa_V2_dada($c, $codeset) != $c && $_W["setting"]["site"]["key"]) {
if ($iskg) {
pdo_insert("zmcn_fw_wrong", array("uniacid" => $_W["uniacid"], "openid" => $_W["openid"], "ip" => $_W["clientip"], "code" => $c, "addtime" => TIMESTAMP));
}
return false;
} else {
return true;
}
}
function zmcn_get_intname($j)
{
global $unicredi;
$e = $unicredi["credit" . $j]["title"];
return $e;
}
function zmcn_get_int($j, $f)
{
global $unicredi;
$e = $unicredi["credit" . $j]["title"] . ":" . $f . ";";
$wi = array(”, $unicredi["credit1"]["title"], $unicredi["credit2"]["title"], $unicredi["credit3"]["title"], $unicredi["credit4"]["title"], $unicredi["credit5"]["title"], ”, ”, ”, "红包", ”);
$wu = array(”, "分", "元", ”, ”, ”, ”, ”, ”, "元", ”, ”, ”, ”, ”, ”, ”, ”, ”, ”, ”, ”, ”, ”, ”, ”, ”, ”, ”, ”, ”, ”);
$e = $wi[$j] . $f . $wu[$j];
return $e;
}
king51 大佬有话说 :
:Q 什么加密,我记得不是有个大佬那边能白**吗