zyyujq 发表于 2021-12-24 15:25

MX虚拟串口_1.0.1.7分析方法

MX虚拟串口_1.0.1.7分析方法

使用dnSpy打开主程序mxVisualSerialPort.exe

//找到 com2com_csharp.MyRegister
public MyRegister()
{
    int a_ = 15;
    this.licenecode=1 = "";
    this.mxcode = "";
    this.macidMD5 = "";
    this.key = TestQRCodeForm.b("??????鞦邨", a_);
    this.remainDay = 3;//在此处右键编辑IL指令
    this.subkey = TestQRCodeForm.b("??\ud99e??????????\udab4??\uddba??賀?", a_);
    base..ctor();
}

右键编辑IL指令进入IL模式:
16        003E        ldarg.0
17        003F        ldc.i4.3//修改此处操作码为ldc.i4,操作符合为过期天数长整数,直接输入3650即可达到3650天不过期。
18        0040        stfld        int32 com2com_csharp.MyRegister::remainDay

修改后为:
16        003E        ldarg.0
17        003F        ldc.i4        0xE42
18        0044        stfld        int32 com2com_csharp.MyRegister::remainDay

确定保存IL编码:
// com2com_csharp.MyRegister
public MyRegister()
{
    int a_ = 15;
    this.licenecode=1 = "";
    this.mxcode = "";
    this.macidMD5 = "";
    this.key = TestQRCodeForm.b("??????鞦邨", a_);
    this.remainDay = 3650;
    this.subkey = TestQRCodeForm.b("??\ud99e??????????\udab4??\uddba??賀?", a_);
    base..ctor();
}


在dnSpy文件菜单下保存,模块即可达到逆向期限限制。
运行逆向后的程序显示:



原版下载:
https://iotplat.top/public/MX%E8%99%9A%E6%8B%9F%E4%B8%B2%E5%8F%A3/MX%E8%99%9A%E6%8B%9F%E4%B8%B2%E5%8F%A3_1.0.1.7.zip


Wangzheaa 发表于 2021-12-24 18:34

感谢分享~~

gh0st 发表于 2021-12-24 20:19

感谢分享

木糖心 发表于 2021-12-26 21:08

感谢分享

拿着雪糕 发表于 2022-1-5 21:54

感谢分享

lcw 发表于 2022-1-5 22:30

zhmtao 发表于 2022-1-6 13:10


啊这,竟然有java的教程

EMT 发表于 2022-1-7 20:39

谢谢分享

kalove 发表于 2022-1-8 09:52

支持~谢谢大神的分享~

hetao8003200 发表于 2022-1-8 10:50

感谢楼主分享
页: [1] 2 3 4 5 6 7 8 9 10
查看完整版本: MX虚拟串口_1.0.1.7分析方法