吾爱破解 - LCG - LSG |安卓破解|病毒分析|www.52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 2703|回复: 7
收起左侧

[已解决] 有个360加固的app想知道signature的加密方式

[复制链接]
Eliot8234 发表于 2021-3-29 17:46
100吾爱币
新手小白,开始尝试通过反编译找不到signature的数据,通过工具查出来是360加固,难倒我了,之前没接触到,有大佬能帮我看看吗?app下载地址:https://wws.lanzouj.com/iRoEwng0wij
加密的signature值:signature=C24A24D4AFAE6847961996CFCA9AC3AAF8ADB31BB7EB84EBF179084E92DD449E

最佳答案

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

故事散场 发表于 2021-3-29 17:46
本帖最后由 故事散场 于 2021-3-30 18:09 编辑

关键代码:
QQ截图20210330180705.png
QQ截图20210330180607.png

免费评分

参与人数 1吾爱币 +1 热心值 +1 收起 理由
Eliot8234 + 1 + 1 谢谢@Thanks!

查看全部评分

得水 发表于 2021-3-29 19:28
北辰没有林安 发表于 2021-3-30 15:57
 楼主| Eliot8234 发表于 2021-3-30 18:47

谢谢大佬,可以分享一下dex吗
闷骚小贱男 发表于 2021-3-30 20:49
本帖最后由 闷骚小贱男 于 2021-3-30 21:04 编辑
Eliot8234 发表于 2021-3-30 18:47
谢谢大佬,可以分享一下dex吗

装个反射大师3.5  一键脱壳不香吗
DEX下载地址https://wwa.lanzouj.com/iSMEpnhgd1a
[可以直接用MT等工具查看]

反射大师3.5+XP框架脱壳 下载:https://wwa.lanzouj.com/b03zi4n0j 密码:52pj

以下代码出自com.ssxg.cheers.utils.Utils
[Java] 纯文本查看 复制代码
    public static final com.cheers.okhttplibrary.c.e.c getPostMethodRequest(Class cls, String str, Map<String, String> map) {
        String LongtoSecondScale = DataUtils.LongtoSecondScale(String.valueOf(System.currentTimeMillis()), 0);
        String randomString = getRandomString(16);
        long length = (long) (LongtoSecondScale.length() << 3);
        c.a("time_stamp", "" + length);
        String upperCase = md5(randomString + length).toUpperCase();
        c.c("secret--->" + upperCase);
        if (map == null) {
            try {
                map = new HashMap<>();
            } catch (Exception e) {
                e.printStackTrace();
                return null;
            }
        }
        map.put("nonce_str", randomString);
        map.put("timestamp", LongtoSecondScale);
        map.put("isfast", "0");
        map.put("channel", getChannelName(com.cheers.okhttplibrary.b.c.getContext()));
        map.put("system", "android");
        map.put("imei", getImei());
        map.put("alyimei", getAlyImei());
        map.put("oaid", getOaidImei());
        map.put("udid", getUdid());
        map.put("device", Build.BRAND + "-" + Build.MODEL);
        map.put("version", "6.2.7");
        map.put("osversion", "android " + getSystemVersion());
        map.put("simulator", getEmulator());
        map.put("resolution", DisplayUtils.getHeightPixels() + "*" + DisplayUtils.getWidthPixels());
        map.put("nettype", NetUtils.getNetworkType());
        map.put("operator", getSubscriptionOperatorType());
        map.put("location", a.a().a("latitude", "0") + "," + a.a().a("longitude", "0"));
        map.put("pushid", JPushInterface.getRegistrationID(AppAplication.getInstance()));
        List<Map.Entry<String, String>> formatSortParam = formatSortParam(map);
        JSONObject jSONObject = new JSONObject(true);
        for (Map.Entry next : formatSortParam) {
            if (!TextUtils.isEmpty((CharSequence) next.getKey())) {
                jSONObject.put((String) next.getKey(), next.getValue());
            }
        }
        String json = jSONObject.toString();
        c.c("json--->" + json);
        String md5 = md5(json + upperCase);
        c.c("stringSign--->" + md5);
        String upperCase2 = HMACSHA256(md5, upperCase).toUpperCase();
        c.c("signature--->" + upperCase2);
        com.cheers.okhttplibrary.c.e.b bVar = new com.cheers.okhttplibrary.c.e.b(cls, "https://api.yuexiangvideo.com/api/v1/" + str);
        bVar.a("biz_content", Base64Utils.encode(json.getBytes()));
        bVar.a("signature", upperCase2);
        return bVar;
    }

免费评分

参与人数 1吾爱币 +1 热心值 +1 收起 理由
Eliot8234 + 1 + 1 谢谢@Thanks!

查看全部评分

pythonSpider 发表于 2021-3-31 15:13
学到了,大佬
lxd1215 发表于 2021-4-2 19:16
有办法让他加脱壳不了吗
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则 警告:本版块禁止回复与主题无关非技术内容,违者重罚!

快速回复 收藏帖子 返回列表 搜索

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

GMT+8, 2024-3-29 05:53

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

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