Ericky 发表于 2014-12-5 21:26

An android crackme. Just for fun!

Spend a full daytime to do hide method in dex files,but finally I failed.http://bbs.pediy.com/images/smilies/eek.gifhttp://bbs.pediy.com/images/smilies/eek.gif

Find ainteresting Android crackme for you!

Please have a try !No external Protect!

Just for fun!

My proof:
http://bbs.pediy.com/attachment.php?attachmentid=94172&thumb=1&d=1417785797
Here is the attachment:

风生·水起 发表于 2015-1-4 02:56

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable; //获取文本框内容

    move-result-object v0

    invoke-interface {v0}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/example/crackme/MainActivity$1;->regcode:Ljava/lang/String;

    .line 31
    iget-object v0, p0, Lcom/example/crackme/MainActivity$1;->regcode:Ljava/lang/String;//获取注册码

    const-string v1, "\u5199\u4e2aCM\u90fd\u5f88\u96be\u554a"//注册码为 写个CM都很难啊

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z//比较V0,V1是否相等

    move-result v0 //结果给V0

    if-eqz v0, :cond_0// V0等于0就跳转到 cond_0 (不相等) 删除此句即可爆破

    .line 32
    new-instance v0, Landroid/app/AlertDialog$Builder;

    iget-object v1, p0, Lcom/example/crackme/MainActivity$1;->this$0:Lcom/example/crackme/MainActivity;

    invoke-direct {v0, v1}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 33
    const-string v1, "\u63d0\u793a"

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 34
    const-string v1, "\u6ce8\u518c\u6210\u529f\uff01"//注册成功

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 35
    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog;

    .line 42
    :goto_0
    return-void

    .line 37
    :cond_0
    new-instance v0, Landroid/app/AlertDialog$Builder;

    iget-object v1, p0, Lcom/example/crackme/MainActivity$1;->this$0:Lcom/example/crackme/MainActivity;

    invoke-direct {v0, v1}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 38
    const-string v1, "\u63d0\u793a"

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 39
    const-string v1, "\u6ce8\u518c\u5931\u8d25\uff01"

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 40
    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog;

    goto :goto_0
破解版

冥界3大法王 发表于 2017-4-30 18:02

    if-eqz v0, :cond_0 ,把这种删除了就可以了。

    .line 32
    new-instance v0, Landroid/app/AlertDialog$Builder;

    iget-object v1, p0, Lcom/example/crackme/MainActivity$1;->this$0:Lcom/example/crackme/MainActivity;

    invoke-direct {v0, v1}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 33
    const-string v1, "\u63d0\u793a"

微笑嘻嘻 发表于 2014-12-5 21:36

我就看看不说话

dongfang155 发表于 2014-12-5 21:41

什么鸟语看不懂啊

Mrsin 发表于 2014-12-5 22:06

{:301_1009:}好牛逼的样子,{:1_932:} 膜拜楼主 {:1_931:}

wanmei 发表于 2014-12-5 22:13

火前留名{:301_971:}我是wanmei

f378694339 发表于 2014-12-5 22:24

原创大神必须支持啊

lzxiaomai 发表于 2014-12-5 22:34

没看懂是什么

Jack丶雷 发表于 2014-12-5 22:38

这只是一个有趣的安卓CM?

为什么这样写就能精华?

Ericky 发表于 2014-12-5 22:41

Jack丶雷 发表于 2014-12-5 22:38
这只是一个有趣的安卓CM?

为什么这样写就能精华?

Sowrap your guns!

Ctrui 发表于 2014-12-5 22:47

膜拜大神,感谢分享,下载来玩玩{:1_927:}
页: [1] 2
查看完整版本: An android crackme. Just for fun!