首页
社区
课程
招聘
逆向分析Android 某App,寻找SKU信息返回数据
2023-3-7 19:06 6410

逆向分析Android 某App,寻找SKU信息返回数据

2023-3-7 19:06
6410

起先我随便hook了一大堆乱七八糟的函数,当然跟进URL的路由后半部分找到了一些有一丢丢用的东西,返回了路由和一些数据,但是这个路由并不是我想要的
图片描述
想随便了,来一段看看
图片描述
确实有所数据返回,但是看了下传入了一大堆乱七八糟的参数
返回了一些看似可有可无的数据,就卡在这了,
进入这个函数所在的文件,hook一遍所有的其他函数方法,发现均无任何输出
于是直接去找自己想要的SKU信息
找到一堆的函数,看了下最可能的函数

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
package com.xunmeng.pinduoduo.sku;
 
/* compiled from: Pdd */
/* loaded from: classes5.dex */
public class SkuItem {
    public static final int ALL_DISABLE = 3;
    public static final int DISABLE = 2;
    public static final int HIGHLIGHTED = 1;
    public static final int NORMAL = 0;
    public long afterDiscountPrice;
    public String desc;
    public String displayDesc;
    public String groupUnitPrice;
    public boolean isAfterDisCountPriceShow;
    public boolean isHotItem;
    public String key;
    public String matchSkuText;
    public int realPos;
    public String singleUnitPrice;
    public long skuPrice;
    public int status;
 
    public SkuItem() {
        if (com.xunmeng.manwe.o.c(136813, this)) {
            return;
        }
        this.isHotItem = false;
    }
 
    public SkuItem(String str) {
        if (com.xunmeng.manwe.o.f(136814, this, str)) {
            return;
        }
        this.isHotItem = false;
        this.desc = str;
    }
 
    public boolean equals(Object obj) {
        if (com.xunmeng.manwe.o.o(136815, this, obj)) {
            return com.xunmeng.manwe.o.u();
        }
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof SkuItem)) {
            return false;
        }
        SkuItem skuItem = (SkuItem) obj;
        String str = this.key;
        if (str == null ? skuItem.key != null : !com.xunmeng.pinduoduo.d.k.R(str, skuItem.key)) {
            return false;
        }
        String str2 = this.desc;
        String str3 = skuItem.desc;
        if (str2 != null) {
            return com.xunmeng.pinduoduo.d.k.R(str2, str3);
        }
        if (str3 == null) {
            return true;
        }
        return false;
    }
 
    public int hashCode() {
        int i;
        if (com.xunmeng.manwe.o.l(136816, this)) {
            return com.xunmeng.manwe.o.t();
        }
        String str = this.key;
        int i2 = 0;
        if (str != null) {
            i = com.xunmeng.pinduoduo.d.k.i(str);
        } else {
            i = 0;
        }
        int i3 = i * 31;
        String str2 = this.desc;
        if (str2 != null) {
            i2 = com.xunmeng.pinduoduo.d.k.i(str2);
        }
        return i3 + i2;
    }
 
    public boolean isHotItem() {
        if (com.xunmeng.manwe.o.l(136818, this)) {
            return com.xunmeng.manwe.o.u();
        }
        return this.isHotItem;
    }
 
    public void setHotItem(boolean z) {
        if (com.xunmeng.manwe.o.e(136817, this, z)) {
            return;
        }
        this.isHotItem = z;
    }
}

开始HOOK它,发现没用
然后hook它下面的方法,
图片描述
没用
到这里卡住了,
希望各位大佬轻点喷,指点下迷津
反正也没事,坐等良言


[培训]《安卓高级研修班(网课)》月薪三万计划,掌握调试、分析还原ollvm、vmp的方法,定制art虚拟机自动化脱壳的方法

收藏
点赞2
打赏
分享
最新回复 (2)
雪    币: 672
能力值: ( LV1,RANK:0 )
在线值:
发帖
回帖
粉丝
leisureman 2023-4-26 19:02
2
0
找到了没有
游客
登录 | 注册 方可回帖
返回