Extract VB.NET code from exe file

爱⌒轻易说出口 提交于 2019-12-09 02:56:37

问题


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?


回答1:


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.




回答2:


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




回答3:


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.




回答4:


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.




回答5:


Have you tried Salamander, or one of the many other .net decompilers?




回答6:


Trey VB Decompiler and see if that works.



来源:https://stackoverflow.com/questions/1000254/extract-vb-net-code-from-exe-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!