吾爱破解 - 52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 3835|回复: 25
收起左侧

[求助] PHP文件解密求大神思路,PHP加密后有大量goto语句

[复制链接]
wuli潇潇 发表于 2019-12-23 12:06
本帖最后由 wuli潇潇 于 2019-12-24 15:46 编辑

goto Wrz0h; BuHk2: $res1 = array("\x6f\160\x65\156\151\144" => $openid, "\x73\145\x73\163\151\x6f\x6e\x5f\x6b\x65\171" => $session_key, "\x75\163\145\x72\x5f\151\x64" => $res["\165\163\x65\x72\137\x69\144"], "\x69\163\137\141\145\x6f" => $res["\151\x73\x5f\141\x65\157"], "\x6e\151\143\153\x6e\x61\x6d\145" => $res["\x6e\x69\x63\x6b\156\141\155\145"], "\x61\166\141\x74\141\x72" => $res["\x61\166\x61\164\141\x72"], "\160\150\x6f\156\145\x4e\165\x6d\142\145\x72" => $res["\160\150\x6f\156\x65\x4e\x75\x6d\142\x65\162"], "\x69\x6e\x74\x72\157\x64\x75\x63\164\151\157\x6e" => $res["\151\156\164\x72\157\144\x75\x63\x74\151\157\x6e"], "\151\x6d\x70\x61\143\x74" => $res["\151\155\x70\141\143\164"], "\x70\x65\162\x6d\151\163\163\151\x6f\156\163" => $res["\160\145\162\x6d\151\x73\x73\151\x6f\x6e\163"], "\154\151\x6b\145" => $res["\x6c\151\153\x65"], "\143\x6f\155\x70\x61\156\171" => $res["\x63\157\155\160\x61\156\171"], "\162\x65\141\154\156\141\155\x65" => $res["\x72\145\141\154\156\x61\x6d\145"], "\160\x6f\163\151\x74\151\157\x6e" => $res["\x70\157\163\x69\x74\x69\x6f\x6e"], "\x77\x65\x63\150\x61\164" => $res["\167\145\143\150\141\164"], "\145\x6d\141\151\154" => $res["\x65\155\x61\151\154"], "\143\x6f\x69\x6e" => $res["\143\157\x69\156"], "\160\150\157\x74\157" => $arr, "\x63\157\155\160\154\x65\x74\x65" => $res["\x63\157\155\x70\154\x65\x74\145"], "\141\x64\144\162\x65\x73\163" => $res["\x61\144\144\x72\145\x73\x73"], "\151\x73\x5f\x61\x75\164\150" => $res["\x69\x73\x5f\x61\x75\164\x68"], "\x6c\157\147\151\156\x5f\163\x74\x61\164\145" => $res["\x6c\x6f\147\x69\x6e\137\x73\x74\x61\164\x65"]); goto FBTvc; Wrz0h: ?>

看的一脸懵逼的

链接: https://pan.baidu.com/s/1l3vQLXpzcFYqMki_AG-zTQ 提取码: 4pge

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

smldhz 发表于 2019-12-24 14:56

[PHP] 纯文本查看 复制代码
<?php
global $_GPC, $_W;
$data["uniacid"] = $_W["uniacid"];
$data["user_id"] = $_GPC["user_id"];
$data["goods_id"] = $_GPC["goods_id"];
$data["goods_name"] = $_GPC["goods_name"];
$data["goods_image"] = $_GPC["goods_image"];
$data["retail_price"] = $_GPC["retail_price"];
$data["goods_specifition_name_value"] = $_GPC["goods_specifition_name_value"];
$data["goods_specifition_ids"] = $_GPC["goods_specifition_ids"];
$data["product_id"] = $_GPC["goods_specifition_ids"];
$data["total"] = $_GPC["total"];
$data["number"] = $_GPC["number"];
$data["is_limit"] = $_GPC["is_limit"];
$data["is_raise"] = $_GPC["is_raise"];
$data["is_border"] = $_GPC["is_border"];
$data["fh_way"] = $_GPC["fh_way"];
$data["shop_id"] = $_GPC["extract_shop_id"];
$data["share_user_id"] = $_GPC["share_user_id"];
$data["fx_total"] = $_GPC["fx_total"];
$data["tg_total"] = $_GPC["tg_total"];
$data["attribute"] = $_GPC["attribute"];
$goods_specifition_ids = $_GPC["goods_specifition_ids"];
$goods_id = $_GPC["goods_id"];
$number = $_GPC["number"];
$res = pdo_get("meike_shop_cart", array("goods_id" => $goods_id, "user_id" => $_GPC["user_id"]));
$num = $res["number"];
$newNum = $num + $number;
if (empty($res)) {
    $res11 = pdo_insert("meike_shop_cart", $data);
    $message = "添加成功1";
    $errno = 0;
    return $this->result($errno, $message, $data);
}
if (empty($goods_specifition_ids)) {
    $check = pdo_get("meike_shop_goods", array("id" => $goods_id));
    $goods_number = $check["goods_number"];
    if ($newNum > $goods_number) {
        $message = "添加失败,购物车中已有此商品,清空购物车再试";
        $errno = 1;
        return $this->result($errno, $message);
    }
    pdo_update("meike_shop_cart", array("number" => $newNum), array("goods_id" => $goods_id));
    $message = "添加成功2";
    $errno = 0;
    return $this->result($errno, $message);
}
$check = pdo_get("meike_shop_cart", array("product_id" => $goods_specifition_ids));
if (empty($check)) {
    pdo_insert("meike_shop_cart", $data);
    $message = "添加成功3";
    $errno = 0;
    return $this->result($errno, $message);
}
$sk = pdo_get("meike_shop_goods_option", array("id" => $goods_specifition_ids));
$stock = $sk["stock"];
if ($newNum > $stock) {
    $message = "添加失败,购物车中已有此商品,清空购物车再试";
    $errno = 1;
    return $this->result($errno, $message);
}
pdo_update("meike_shop_cart", array("number" => $newNum), array("goods_id" => $goods_id));
$message = "添加成功4";
$errno = 0;
return $this->result($errno, $message);


这个应该没问题了
smldhz 发表于 2019-12-24 14:08

回帖奖励 +1 CB吾爱币

[PHP] 纯文本查看 复制代码
<?php
global $_GPC, $_W;
$data["uniacid"] = $_W["uniacid"];
$data["user_id"] = $_GPC["user_id"];
$data["goods_id"] = $_GPC["goods_id"];
$data["goods_name"] = $_GPC["goods_name"];
$data["goods_image"] = $_GPC["goods_image"];
$data["retail_price"] = $_GPC["retail_price"];
$data["goods_specifition_name_value"] = $_GPC["goods_specifition_name_value"];
$data["goods_specifition_ids"] = $_GPC["goods_specifition_ids"];
$data["product_id"] = $_GPC["goods_specifition_ids"];
$data["total"] = $_GPC["total"];
$data["number"] = $_GPC["number"];
$data["is_limit"] = $_GPC["is_limit"];
$data["is_raise"] = $_GPC["is_raise"];
$data["is_border"] = $_GPC["is_border"];
$data["fh_way"] = $_GPC["fh_way"];
$data["shop_id"] = $_GPC["extract_shop_id"];
$data["share_user_id"] = $_GPC["share_user_id"];
$data["fx_total"] = $_GPC["fx_total"];
$data["tg_total"] = $_GPC["tg_total"];
$data["attribute"] = $_GPC["attribute"];
$goods_specifition_ids = $_GPC["goods_specifition_ids"];
$goods_id = $_GPC["goods_id"];
$number = $_GPC["number"];
$res = pdo_get("meike_shop_cart", array("goods_id" => $goods_id, "user_id" => $_GPC["user_id"]));
$num = $res["number"];
$newNum = $num + $number;
if (empty($res)) {
    $res11 = pdo_insert("meike_shop_cart", $data);
    $message = "添加成功1";
    $errno = 0;
    return $this->result($errno, $message, $data);
}
manbajie 发表于 2019-12-23 12:45
Cyntec 发表于 2019-12-23 13:08

回帖奖励 +1 CB吾爱币

毫无方向可言,建议搜索一下常规加密方式,测试一下。
 楼主| wuli潇潇 发表于 2019-12-23 15:02
Cyntec 发表于 2019-12-23 13:08
毫无方向可言,建议搜索一下常规加密方式,测试一下。

就是百度上面的,说蛮简单的,就是不会
 楼主| wuli潇潇 发表于 2019-12-23 15:03
manbajie 发表于 2019-12-23 12:45
这个我完全看不懂

坐等看的懂的大神来
Cyntec 发表于 2019-12-23 15:09
本帖最后由 Cyntec 于 2019-12-23 15:14 编辑

goto Wrz0h;
BuHk2:
$res1 = array(
    "openid" => $openid,
    "session_key" => $session_key,
    "user_id" => $res["user_id"],
    "is_aeo" => $res["is_aeo"],
    "nickname" => $res["nickname"],
    "avatar" => $res["avatar"],
    "phoneNumber" => $res["phoneNumber"],
    "introduction" => $res["introduction"],
    "impact" => $res["impact"],
    "permissions" => $res["permissions"],
    "like" => $res["like"],
    "company" => $res["company"],
    "realname" => $res["realname"],
    "position" => $res["position"],
    "wechat" => $res["wechat"],
    "email" => $res["email"],
    "coin" => $res["coin"],
    "photo" => $arr,
    "complete" => $res["complete"],
    "address" => $res["address"],
    "is_auth" => $res["is_auth"],
    "login_state" => $res["login_state"]
);
goto FBTvc;
Wrz0h: ?>
 楼主| wuli潇潇 发表于 2019-12-23 15:13
Cyntec 发表于 2019-12-23 15:09
[mw_shl_code=php,true]goto Wrz0h; BuHk2: $res1 = array("openid" => $openid, "session_key" => $sessio ...

兄弟,你这个可以啊,怎么搞的?
Cyntec 发表于 2019-12-23 15:15
wuli潇潇 发表于 2019-12-23 15:13
兄弟,你这个可以啊,怎么搞的?

100CB告诉你
 楼主| wuli潇潇 发表于 2019-12-23 15:17

可以,怎么给你?
Cyntec 发表于 2019-12-23 15:18
wuli潇潇 发表于 2019-12-23 15:17
可以,怎么给你?

发个悬赏贴
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

返回列表

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-11-25 14:56

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

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