吾爱破解 - 52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 3049|回复: 8
收起左侧

[Android 分享] 某airpods弹窗软件hook困惑

[复制链接]
WilsonZtw 发表于 2025-8-28 10:20
本帖最后由 WilsonZtw 于 2025-8-28 10:24 编辑

安装包:https://www.123865.com/s/GwR6Vv-r0Sch
查看相关引用,貌似有两种vip判断方式:
public void setUserInfo(AccountInfo accountInfo) {
        this.flBottom.setVisibility(0);
        if (accountInfo == null) {
            this.tvUserName.setText(getString(0x7f1103ca));
            this.tvProDesc.setText(getString(0x7f110303));
            this.tvRecoverBuy.setVisibility(8);
            return;
        }
        this.tvRecoverBuy.setVisibility(0);
        ImageLoadUtil.loadCircleImage(accountInfo.getHeadImgUrl(), this.imgUserPhoto);
        this.tvUserName.setText(accountInfo.getNickname());
        if (accountInfo.active) {
            CountDownTimer countDownTimer = this.countDownTimer;
            if (countDownTimer != null) {
                countDownTimer.cancel();
            }
            if (accountInfo.getExpired() > 0) {
                this.tvProDesc.setText(getString(0x7f1100da, TimeUtil.timeStamp2Date(accountInfo.getExpired())));
                return;
            }
            this.tvProDesc.setText(0x7f1103ae);
            this.flBottom.setVisibility(8);
            this.rvPrice.setVisibility(8);
            return;
        }
        if (accountInfo.getExpired() > 0) {
            this.tvProDesc.setText(getString(0x7f110051, TimeUtil.timeStamp2Date(accountInfo.getExpired())));
        } else {
            this.tvProDesc.setText(getString(0x7f110303));
        }
    }
索引资源ID:
@7f1103ca
string/text_un_login

7f110303
@string/settings_auth_title
升级VIP会员,即享专属特权

@7f1100da
@string/expired_time
到期时间:%s

@7f1103ae
@string/text_permanent_member
您已是永久会员

@7f110051
@string/already_expired
string/already_expired
会员已到期:%s

@7f110303
@string/settings_auth_title
升级VIP会员,即享专属特权

困惑点:看了逻辑,貌似要小于0就是永久vip,赋值超过当前时间就是vip。
getExpired()J    分别赋值:-1l和4100688000000l(2099-12-12)
赋值大于当前时间戳显示小于0的时间戳直接显示开通会员,并没有按逻辑执行,是哪里有判断还是服务器验证呢,有大佬帮忙look下不,3Q

专享还是会跳转开通界面

专享还是会跳转开通界面

显示已到期时间

显示已到期时间

免费评分

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

查看全部评分

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

头像被屏蔽
zhuxiangyu1024 发表于 2025-8-28 13:34
提示: 作者被禁止或删除 内容自动屏蔽
 楼主| WilsonZtw 发表于 2025-8-28 13:42
zhuxiangyu1024 发表于 2025-8-28 13:34
AccountInfo 里面都是native函数,应该是特地防止分析的,问题可能出在这里。

好的 谢谢佬的解答
flovet 发表于 2025-8-28 16:13
wanliu 发表于 2025-8-28 17:49
flovet 发表于 2025-8-28 16:13
可以有成品么?大佬

不让发成品吧
pizhu 发表于 2025-8-29 09:03
厉害,思路很好!
前进的小白 发表于 2025-8-29 09:24
我是小白 谁懂这种给了教程的方法都用不来的无力感啊
oneday11111 发表于 2025-8-29 21:23
是自己改吗?
H7ang0 发表于 2025-8-30 18:35
可以的大佬
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

返回列表

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

GMT+8, 2026-6-4 06:36

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

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