我可以对自己的 dll 进行逆向工程吗?
我们有一个正在运行的 .NET 项目,但我们丢失了该项目(人为错误)。编写代码的人说她的解决方案中有三个项目 =>一个 webform、一个 winform 和一个类库。
现在,我们有了最终的 DLL 和网站。我们能用这个做点什么吗?
对于类库,我正在考虑使用 Reflector 来复制/粘贴代码,并随着时间的推移,将 MethodNames 和变量等重命名为一些漂亮的英文内容。
对于网站,不确定。
有人有什么想法或选择吗?
她说她也没有 pdb 文件:((发布版本)。
干杯:)
We've got a .NET project at work, which we lost (human error). The person who wrote the code said she had three projects in the solution => one webform, one winform and one class library.
Now, we have the final DLLs and website. Is there anything we can do with this?
For the class library, I was thinking about using Reflector to copy/paste the code and, with time, rename MethodNames and variables, etc.. to some nice english stuff.
For the website, not sure.
Does anyone have any ideas or options?
She said she doesn't have the pdb files either :( (Release builds).
Cheers :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
使用此处的 FileDissasembler 扩展即可使用 Reflector 提取完整代码:
http://www.codeplex.com/reflectoraddins
Use the FileDissasembler extension here to simply extract the full code using Reflector:
http://www.codeplex.com/reflectoraddins
是的,您实际上可以对整个代码进行逆向工程,而无需复制和粘贴。我以前做过这个,我使用的就是这个 Reflector 插件 。
之后将会进行一些小的清理(整数以十六进制形式显示等),但它的工作方式就像一个魅力。如果您没有 PDB 也没关系,只要您没有混淆 dll,您就会获得可读的代码。
Yes, you can actually reverse engineer the entire code without copying and pasting at all. I've done this before, and it was this Reflector add-in that I used.
There will be some minor clean-up afterwards (integers come out as hex, etc.) but it works like a charm. It doesn't matter if you don't have the PDB's, as long as you didn't obfuscate the dll's you'll get readable code.
Reflector 有一个插件,允许您从 Dll 中导出项目。
它称为 FileDisassembler - http://www.denisbauer.com/NETTools/FileDisassembler.aspx
无论如何,我认为找回文件的工作不会是小菜一碟。
也许尝试一些数据恢复应用程序或这些神奇的反删除应用程序。
Reflector has a plugin that allows you to export a project out of a Dll.
It is called FileDisassembler - http://www.denisbauer.com/NETTools/FileDisassembler.aspx
Anyway I think the work of getting your files back won't be a piece of cake.
Maybe give a try to some data restore apps or these magical undelete applications.