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
感谢分享~~ 感谢分享 感谢分享 感谢分享
啊这,竟然有java的教程 谢谢分享 支持~谢谢大神的分享~ 感谢楼主分享