如何打开.Net的加密DLL? [英] How to open encrypted DLL of .Net?

查看:289
本文介绍了如何打开.Net的加密DLL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法打开并查看.Net的加密DLL代码?是否需要任何软件才能打开它,如果是这样,你能否提及其中一些?

Is there a way to open and view code of an encrypted DLL of .Net? Does it require any software to open this, if so, could you please mention some of them?

推荐答案

为了查看加密文件的简单内容,你有当然,首先解密它。

在解密的 DLL 代码中,您可以使用 ildasm工具 [ ^ ]查看 IL 代码。
In order to view the plain content of an encrypted file you have first to decrypt it, of course.
On the decrypted DLL code you might then use the ildasm tool[^] to see the IL code.


如果DLL被正确加密 - 就像在文件中通过DES或类似的加密使用正确的密钥一样 - 除了使用适当的密钥之外,您无法读取内容。这就是加密的整个想法!



但这种情况极为罕见 - 因为合法使用该文件非常困难。我从来没有见过一个案例。

大多数DLL都不受加密保护 - 它们被混淆了,这是一个使代码更难以阅读同时仍然完全可执行的过程。这些可以查看,但代码可能不容易理解。



无论哪种方式,试图查看代码几乎肯定是违反版权 - 或者它不会首先要保护好 - 所以如果可以的话,我们可能不会帮助你!



你为什么要这样做?
If a DLL is "properly" encrypted - as in the file has been passed through DES or similar encryption with a proper key - you cannot read the contents except with the appropriate key. That is the whole idea of encryption!

But that is extremely rare - because it is very difficult to use the file legitimately. I've never seen a case.
Most DLL's are not protected by encryption - they are obfuscated instead, which is a process of making the code harder to read while still being fully executable. These can be viewed, but the code may not be easy to follow.

Either way, trying to view the code is almost certainly in breach of copyright - or it wouldn't be protected in the first place - so we probably wouldn't help you if we could!

Why are you trying to do this?


这篇关于如何打开.Net的加密DLL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆