反编译 ASP.NET 站点
大家好,
我有一个 ASP.NET 网站,但没有源代码。
无论如何,我想反编译整个网站,这样我就可以再次对其进行处理。
我怎样才能轻松地将整个网站反编译为 C#,而不是使用 feflactor 逐个文件进行反编译?
请帮我解决这个问题,谢谢!
hallo all
i have an asp.net site which i have no source code for it.
anyway i would like to decompile the whole site and that way i can work on it agian.
how can i decompile an entire website easily to c# and not do it file by file with feflactor?
please help me with this, thank you!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您可以使用 Reflector 的文件反汇编器 插件。它可以让您一次性将整个程序集转储到代码文件中。
还有另一个插件:FileGenerator,看起来它会做同样的事情,并生成一个项目文件你启动。
You can use the File Disassembler plugin for Reflector. It'll let you dump out a whole assembly into code files all at once.
There's another plugin: FileGenerator, that looks like it'll do the same thing, and generate a project file for you to boot.
我过去使用过 Decompiler.NET。它做得非常好。
Decompiler.NET
希望您有权反编译此代码。
I have used Decompiler.NET in the past. It does a very nice job.
Decompiler.NET
Hopefully you have permission to Decompile this code.
随着时间的推移,出现了许多新的、更好的选择。 JustDecompile 和 DotPeek 是最新的免费反编译器,绝对可以胜任反编译和 asp.net 站点的任务。
ILSpy 也应该能够做到这一点,尽管保持更新的工作似乎正在慢慢结束。对于编译后经过某种方式处理/修改的程序集(例如通过混淆器或 IL 优化器等),dnSpy 是一个更晦涩的替代方案。
In the time passed a number of new and much better options became available. JustDecompile and DotPeek are up to date free decompilers that are definitely up to the task of decompiling and asp.net site.
ILSpy should also be capable of doing this although it seems work on keeping it up to date is slowly coming to an end. dnSpy is a more obscure alternative for assemblies that have been somehow processed/modified after compilation, e.g. by obfuscator or IL optimizer, etc.