从exe文件中提取VB.NET代码
我用VB编写了一个程序,我丢失了源代码,但我有exe文件。 如何从exe文件中提取代码?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
我用VB编写了一个程序,我丢失了源代码,但我有exe文件。 如何从exe文件中提取代码?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(6)
假设您的 exe 是 .NET 程序集(您将问题标记为 VB.NET),您可以使用 反射器。
Assuming your exe is a .NET assembly (you tagged the question as VB.NET), you can reverse engineer your exe using tools such as Reflector.
如果是 VB.NET,您可以使用 RedGate Reflector 工具和 FileDisassemler 插件来生成源代码。 也就是说,如果exe没有被混淆
If it's VB.NET you can use the RedGate Reflector tool and the FileDisassemler plugin to generate the source code. That is if the exe was not obfuscated
由于您标记了您的问题 vb.net,因此您可能能够使用 .NET 反汇编程序检索代码的相当一部分。 例如,尝试 Lutz Roeder 的 .Net Reflector 或 .NET 附带的 MS ildasm编译器。
Since you tagged your question vb.net you might be able to retrieve quite some portions of your code using a .NET disassembler. For example try Lutz Roeder's .Net Reflector or MS ildasm which comes with the .NET compiler.
使用 Reflector(假设为 .NET)将 exe 反汇编回代码。 您将需要创建自己的类结构,但可以将代码恢复为任何受支持的 CLR 语言。
Use Reflector (assuming .NET) to dissassemble the exe back into code. You will need to create your own class structure, but you can recover the code as any of the supported CLR languages.
您是否尝试过 Salamander 或众多其他 .net 反编译器之一?
Have you tried Salamander, or one of the many other .net decompilers?
Trey VB Decompiler 看看是否有效。
Trey VB Decompiler and see if that works.