吾爱破解 - 52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 1255|回复: 1
收起左侧

[Android 求助] 大佬们,这种检测root 代 模拟器的该如何绕过

[复制链接]
hkxiaoyao 发表于 2023-12-31 10:06
[Lua] 纯文本查看 复制代码
.method private final l()V
    .registers 4
    return-void
    const/4 v0, 0x1

    new-array v0, v0, [Ljava/lang/Object;

    .line 1
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "===AppUtils.isAppRoot():"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-static {}, Lcom/blankj/utilcode/util/c;->r()Z

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    const-string v2, " DeviceUtils.isDeviceRooted() "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-static {}, Lcom/blankj/utilcode/util/u;->p()Z

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x0

    aput-object v1, v0, v2

    const-string v1, "niming"

    invoke-static {v1, v0}, Lcom/blankj/utilcode/util/LogUtils;->b(Ljava/lang/String;[Ljava/lang/Object;)V

    .line 2
    invoke-direct {p0}, Lcom/niming/weipa/ui/splash/SplashActivity;->j()Z

    move-result v0

    if-nez v0, :cond_64

    iget-object v0, p0, Lcom/niming/framework/base/BaseActivity;->activity:Landroid/app/Activity;

    invoke-static {v0}, Lcom/niming/weipa/utils/m;->a(Landroid/content/Context;)Z

    move-result v0

    if-eqz v0, :cond_3b

    goto :goto_64

    .line 3
    :cond_3b
    invoke-direct {p0, p0}, Lcom/niming/weipa/ui/splash/SplashActivity;->a(Landroid/content/Context;)Z

    move-result v0

    if-eqz v0, :cond_55

    const-string v0, "检测到您使用了代{过}{滤}理软件,不允许继续使用"

    .line 4
    invoke-static {v0}, Lcom/niming/weipa/update/NoticeAppDialogFragment;->a(Ljava/lang/CharSequence;)Lcom/niming/weipa/update/NoticeAppDialogFragment;

    move-result-object v0

    .line 5
    new-instance v1, Lcom/niming/weipa/ui/splash/SplashActivity$g;

    invoke-direct {v1, p0}, Lcom/niming/weipa/ui/splash/SplashActivity$g;-><init>(Lcom/niming/weipa/ui/splash/SplashActivity;)V

    invoke-virtual {v0, v1}, Lcom/niming/weipa/update/NoticeAppDialogFragment;->a(Lcom/niming/weipa/update/NoticeAppDialogFragment$a;)V

    .line 6
    iget-object v1, p0, Lcom/niming/framework/base/BaseActivity;->activity:Landroid/app/Activity;

    invoke-virtual {v0, v1}, Lcom/niming/weipa/update/NoticeAppDialogFragment;->c(Landroid/app/Activity;)V

    goto :goto_77

    .line 7
    :cond_55
    invoke-static {}, Lcom/niming/framework/basedb/h;->a()Lcom/niming/framework/basedb/h;

    move-result-object v0

    const-string v1, "api_domain"

    const-string v2, ""

    invoke-virtual {v0, v1, v2}, Lcom/niming/framework/basedb/h;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 8
    invoke-direct {p0}, Lcom/niming/weipa/ui/splash/SplashActivity;->h()Lkotlin/Unit;

    goto :goto_77

    :cond_64
    :goto_64
    const-string v0, "检测到您使用的是模拟器或者设备已经root,不允许继续使用"

    .line 9
    invoke-static {v0}, Lcom/niming/weipa/update/NoticeAppDialogFragment;->a(Ljava/lang/CharSequence;)Lcom/niming/weipa/update/NoticeAppDialogFragment;

    move-result-object v0

    .line 10
    new-instance v1, Lcom/niming/weipa/ui/splash/SplashActivity$f;

    invoke-direct {v1, p0}, Lcom/niming/weipa/ui/splash/SplashActivity$f;-><init>(Lcom/niming/weipa/ui/splash/SplashActivity;)V

    invoke-virtual {v0, v1}, Lcom/niming/weipa/update/NoticeAppDialogFragment;->a(Lcom/niming/weipa/update/NoticeAppDialogFragment$a;)V

    .line 11
    iget-object v1, p0, Lcom/niming/framework/base/BaseActivity;->activity:Landroid/app/Activity;

    invoke-virtual {v0, v1}, Lcom/niming/weipa/update/NoticeAppDialogFragment;->c(Landroid/app/Activity;)V

    :goto_77
    return-void
.end method

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

52bug 发表于 2024-1-14 03:32
if-nez v0, :cond_55
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

返回列表

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

GMT+8, 2024-12-22 09:51

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

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