vb.net 从exe文件中提取VB.NET代码
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1000254/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Extract VB.NET code from exe file
提问by Jakob Christensen
I made a program using VB and I lost the source code but I have the exe file. How can I extract the code from the exe file?
我使用 VB 制作了一个程序,但我丢失了源代码,但我有 exe 文件。如何从exe文件中提取代码?
回答by Jakob Christensen
回答by Rad
If it's VB.NET you can use the RedGate Reflectortool and the FileDisassemlerplugin to generate the source code. That is if the exe was not obfuscated
如果是 VB.NET,您可以使用RedGate Reflector工具和FileDisassemler插件生成源代码。那就是如果 exe 没有被混淆
回答by merkuro
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 Reflectoror MS ildasm which comes with the .NET compiler.
由于您标记了您的问题 vb.net,您可能能够使用 .NET 反汇编程序检索代码的相当一部分。例如,尝试Lutz Roeder 的 .Net Reflector或 MS ildasm,它与 .NET 编译器一起提供。
回答by stevehipwell
回答by Binary Worrier
Have you tried Salamander, or one of the many other .net decompilers?
您是否尝试过Salamander或许多其他 .net 反编译器之一?
回答by Steven
Trey VB Decompilerand see if that works.
Trey VB Decompiler,看看它是否有效。