吾爱破解 - LCG - LSG |安卓破解|病毒分析|www.52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 17446|回复: 54
收起左侧

[原创] 小米火警的修改方法_图文版(针对0415版本)

  [复制链接]
vipcrack 发表于 2014-4-29 20:41
本帖最后由 vipcrack 于 2014-4-30 12:47 编辑

222.jpg



小米火警修改.doc (666.5 KB, 下载次数: 547)


小米火警04153.rar (394.96 KB, 下载次数: 130)   0430补充下主文件。
其实小米火警的破解修改基本是一样的,只不过现在作者换了加密软件DNGuard,很少人能脱壳了。

只要有大神脱壳后,就可以对未进行2次加密的破解进行修改。

所有内容都来自网络和论坛,请勿喷水。

因为图比较多 ,所以直接传个DOC吧。

补充下:我不懂脱壳,我只是把其他老大的成果汇总起来了而已。所以,也没法回答坛子里朋友的问题,SORRY。



免费评分

参与人数 5热心值 +5 收起 理由
青春作伴 + 1 讲解很清楚,太好了.牛人很牛,脱壳的又是.
coke_cz + 1 谢谢@Thanks!
小北极 + 1 代码被加密,可以使用工具还原代码。是用什.
_小乱y + 1 可以传我一个4.15版本的火警吗
じ☆ve_ㄣ晓影 + 1 正在学习,楼主的东西真是帮了我大忙啊

查看全部评分

本帖被以下淘专辑推荐:

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

 楼主| vipcrack 发表于 2014-4-29 22:39
dbzmzm 发表于 2014-4-29 21:49
想知道另一处后门在哪里,怎么修改。求真相

bh.h()



private void h()
{
    if (a && !this.p())
    {
        string str = u.b(cr.c("awBoAHQAQwBoAHUAZQBBAgGAlBAVAMGA") + ":" + this.f.a(this).XiaomiId);
        this.f.a(str);
        if (str.StartsWith(cr.c("ARw==AE4")))
        {
            this.a(ai.f);
            this.b(false);
            this.f.a(this).Message = cr.c("C4ALpUuAC5R+1PzDXuuftA+d");
        }
        else if (str.StartsWith(cr.c("ASw==AE8")))
        {
            this.a(ai.i);
            this.b(true);
        }
        else
        {
            this.a(ai.x);
            this.f.a(this).Message = cr.c("++VGWdD/wFgb2OI+U49XXiTZ");
        }
    }
    else
    {
        this.a(ai.k);
        this.b(true);
    }
}


代码还原

private void method_1()
{
    if (bool_0 && !this.Boolean_0)
    {
        string str = Class140.smethod_0("CheckTheAuth" + ":" + this.miSekillPanelVM_0.method_6(this).XiaomiId);
        this.miSekillPanelVM_0.method_5(str);
        if (str.StartsWith("NG"))
        {
            this.Enum2_0 = Enum2.const_5;
            this.Boolean_1 = false;
            this.miSekillPanelVM_0.method_6(this).Message ="右键点击继续...";
        }
        else if (str.StartsWith("OK"))
        {
            this.Enum2_0 = Enum2.const_8;
            this.Boolean_1 = true;
        }
        else
        {
            this.Enum2_0 = Enum2.const_23;
            this.miSekillPanelVM_0.method_6(this).Message = "授权信息取得错误!";
        }
    }
    else
    {
        this.Enum2_0 = Enum2.const_10;
        this.Boolean_1 = true;
    }
}

修改思路:

1、直接删除代码,这样不影响授权用户
2、替换NG和OK的字符,让NG授权,让OK未授权,这样影响授权用户


删除代码:

1、删除84——176行代码
2、删除后在更新的代码基础上,删除98——139行代码

代码变成:

private void h()
{
    if (!(!a || this.p()))
    {
        string str = u.b(cr.c("awBoAHQAQwBoAHUAZQBBAgGAlBAVAMGA") + ":" + this.f.a(this).XiaomiId);
        this.f.a(str);
        this.a(ai.i);
        this.b(true);
    }
    else
    {
        this.a(ai.k);
        this.b(true);
    }
}


下单时候的检测:

            if (u.b(cr.c("HAGAjBwUAU=M") + ":" + this.f.a(this).Account + cr.c("AfA==AHw") + this.f.a(this).Version).StartsWith("OK"))
            {
                this.a(ai.z);
                this.s();
            }

还原代码:

            if (u.b("Succ" + ":" + this.f.a(this).Account + "||" + this.f.a(this).Version).StartsWith("OK"))
            {
                this.a(ai.z);
                this.s();
            }

修改成
                this.a(ai.z);
                this.s();
或者


            string str2 = "OK";
            if (str2.StartsWith("OK"))
            {
                this.a(ai.z);
                this.s();
            }
======================================================================================================================================================
复制密码检测授权,功能用不上,可不修改

private void miCopyPassword_Click(object sender, RoutedEventArgs e)
{
    UserSekillVM selectedItem = this.lvResult.SelectedItem as UserSekillVM;
    MenuItem item = sender as MenuItem;
    if ("miStart".Equals(item.Name))
    {
        if (this._vm.dictionary_0[selectedItem].bool_2)
        {
            this._vm.dictionary_0[selectedItem].method_14();
        }
        else
        {
            this._vm.dictionary_0[selectedItem].method_13();
        }
    }
    else if ("miReset".Equals(item.Name))
    {
        if (this._vm.dictionary_0[selectedItem].Enum2_0 >= Enum2.const_4)
        {
            this._vm.dictionary_0[selectedItem].Enum2_0 = Enum2.const_4;
        }
        else if (this._vm.dictionary_0[selectedItem].Enum2_0 >= Enum2.const_17)
        {
            this._vm.dictionary_0[selectedItem].Enum2_0 = Enum2.const_17;
        }
        else
        {
            this._vm.dictionary_0[selectedItem].Enum2_0 = Enum2.const_1;
        }
        this._vm.dictionary_0[selectedItem].method_13();
    }
    else if ("miCopyAccount".Equals(item.Name))
    {
        Clipboard.SetText(selectedItem.Account);
    }
    else if ("miCopyPassword".Equals(item.Name))
    {
        Clipboard.SetText(selectedItem.Password);
    }
    else if ("miShouquanma".Equals(item.Name))
    {
        ShouquanmaWin win = new ShouquanmaWin();
        win.ShowDialog();
        string inputCode = win.InputCode;
        if (!string.IsNullOrEmpty(inputCode))
        {
            string xiaomiId = selectedItem.XiaomiId;
            string[] strArray2 = Class140.smethod_0("AddShouquan:" + xiaomiId + "||" + inputCode).Split(new string[] { "||" }, StringSplitOptions.None);
            if (strArray2.Length == 2)
            {
                MessageBox.Show(strArray2[1], "授权结果");
                if ("OK".Equals(strArray2[0]))        //  未授权字符是"NG"
                {
                    this._vm.dictionary_0[selectedItem].Enum2_0 = Enum2.const_4;
                    selectedItem.Message = "";
                    this._vm.dictionary_0[selectedItem].Boolean_1 = true;
                    this._vm.dictionary_0[selectedItem].method_13();
                }
            }
            else
            {
                MessageBox.Show("未知错误!", "授权结果");
            }
        }
    }
    else if ("miNoAuthTry".Equals(item.Name))
    {
        this._vm.dictionary_0[selectedItem].Enum2_0 = Enum2.const_6;
        this._vm.dictionary_0[selectedItem].bool_2 = true;
        selectedItem.Message = "";
    }
}
头像被屏蔽
自然卷。 发表于 2014-4-29 20:44
305131438 发表于 2014-4-29 20:46
X.son 发表于 2014-4-29 20:47
这个支持下,虽然不是很关注这个
system123678 发表于 2014-4-29 20:47
要想办法脱这个壳才是硬道理
305131438 发表于 2014-4-29 20:47
我想请问下,反混淆。。。 --dont-rename    用de4dot  后面加这个后。还是没混淆成功。。。然后-p mc 跟-p mf  2次反混淆后。成功了,但是软件打不开了。如何解决?
fengh 发表于 2014-4-29 21:05 来自手机
不错啊,这个要收藏起来
吾丶爱破解 发表于 2014-4-29 21:07
看不懂了   哎 只希望大手子能偶发一下
 楼主| vipcrack 发表于 2014-4-29 21:15
305131438 发表于 2014-4-29 20:47
我想请问下,反混淆。。。 --dont-rename    用de4dot  后面加这个后。还是没混淆成功。。。然后-p mc 跟-p ...

我搞不定这个壳,我对脱壳一窍不通啊
189825258 发表于 2014-4-29 21:18
有去更新的解析吗?
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则 警告:本版块禁止灌水或回复与主题无关内容,违者重罚!

快速回复 收藏帖子 返回列表 搜索

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

GMT+8, 2024-4-25 16:24

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

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