Decompile protected C# [closed]

我的梦境 提交于 2019-12-13 09:55:59

问题


I have a C# program and i want to decompile it, i used [ILSpy & NetReflector] and everything worked fine the program was decompiled but the source was encrypted or protected in a way because all the .cs file doesn't content the exact code that i want. I tried the decompiling on other programs and the results was nice but only this file. and this is a picture for the encrypted .cs files


回答1:


The code you're trying to look at has been compiled with an obfuscator to discourage people from decompiling it. The obfuscator re-arranges and renames things in the code in such a way that the computer can still run them, but they're harder for a human to understand.

One of the steps in obfuscation is swapping all the nice human-readable variable and class and method names with jumbles of random characters. That's why your decompiled files have a crazy mixture of Chinese, Korean, Greek, Hindi etc letters in them. That step is irreversible, because they're not encrypted, they're just replaced with nonsense.



来源:https://stackoverflow.com/questions/40567547/decompile-protected-c-sharp

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