小白求助一款Android的APP破解
本帖最后由 hikarugl 于 2019-8-30 00:00 编辑破解一款APP 直接将if-nez改为if-eqz提示注册成功,但是重启后仍需注册。这样不行么?
下为dex片段:
if-nez v0, :cond_1
iget-object p1, p0, Lcn/CC/ca/Ra;->a:Landroid/content/Context;
const v0, "注册码错误,请重新输入"
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
move-result-object v0
invoke-static {p1, v0}, Lcn/CC/utils/b;->a(Landroid/content/Context;Ljava/lang/String;)Landroid/app/AlertDialog;
return-void
:cond_1
iget-object v0, p0, Lcn/CC/ca/Ra;->a:Landroid/content/Context;
invoke-static {v0, p1}, Lcn/CC/ca/Wa;->b(Landroid/content/Context;Ljava/lang/String;)V
iget-object p1, p0, Lcn/CC/ca/Ra;->c:Landroid/app/AlertDialog;
invoke-virtual {p1}, Landroid/app/AlertDialog;->dismiss()V
iget-object p1, p0, Lcn/CC/ca/Ra;->a:Landroid/content/Context;
const v0, "提示"
const v1, "注册成功"
invoke-static {p1, v0, v1}, Lcn/CC/utils/b;->a(Landroid/content/Context;II)Landroid/app/AlertDialog$Builder;
move-result-object p1
const v0, 0x104000a
const/4 v1, 0x0
invoke-virtual {p1, v0, v1}, Landroid/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;
move-result-object p1
new-instance v0, Lcn/CC/ca/Qa;
invoke-direct {v0, p0}, Lcn/CC/ca/Qa;-><init>(Lcn/CC/ca/Ra;)V
invoke-virtual {p1, v0}, Landroid/app/AlertDialog$Builder;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)Landroid/app/AlertDialog$Builder;
move-result-object p1
invoke-virtual {p1}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog;
return-void
.end method
学习了,支持一下! 那肯定是哪里还有校验咯
没放app也没法说~ 直接改成goto,或者看看下面代码干了些什么 iget-object p1, p0, Lcn/CC/ca/Ra;->a:Landroid/content/Context;
const v0, "注册码错误,请重新输入"
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
move-result-object v0
invoke-static {p1, v0}, Lcn/CC/utils/b;->a(Landroid/content/Context;Ljava/lang/String;)Landroid/app/AlertDialog;
return-void
这一段删掉 最简单 了 没有头绪 多处验证。
页:
[1]