.NET 反汇编、编辑和补丁

标签 .net edit patch disassembly ida

我需要编辑 .NET 可执行文件。我是十六进制编辑的新手。我已将其导入 IDA 6.1 Pro 并在 IDA-View 窗口中进行编辑。

原文:

ldstr    "Uri : "

我改为(右键单击>手动...(手动操作数)):

ldstr    "Uri : localhost"

我已经安装了 PatchDiff2(IDA 插件),但这对我不起作用:

Scanning for functions ...
parsing second idb...
Error: IDB2 parsing cancelled or failed.

还有其他方法可以将更改提交到可执行文件吗? 原始字节值为:72 BD 1B 00 70 02 7B 59 00 00 04 28 1B 00 00 0A

如何获取(我需要它从 Edit\Patch program\chenge Bytes 打补丁)新的 HEX 值

ldstr    "Uri : localhost"

最佳答案

我使用 ildasm 而不是 IDA。而且效果很好。

IDA would not be my first choice of tool. Just use ildasm.exe to decompile the assembly, edit the IL, put humpty-dumpty back together with ilasm.exe

感谢Hans Passant

关于.NET 反汇编、编辑和补丁,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13914796/

相关文章:

c# - 如何在 HashCode 中包含 "joker"值

.net - 如何禁用VS PowerTools工具提示?

c# - 是否可以使用来自托管代码的 C# 反射来调用非托管代码?

ruby-on-rails - rails : "new or edit" path helper?

python - 与模块 python django mock 同名的补丁函数

eclipse - 是否可以根据已提交的更改在 Eclipse 中创建补丁?

.net - Process.Start(url),url 中带有 anchor

xml - 在 Linux 上使用 shell 脚本从命令行编辑 XML

c++ - 如何在 C++ 中编辑文本文件中的第一行?

Linux - 有什么方法可以配置或创建脚本/程序来右键单击而不选择菜单项?