[Switch] Dotfuscator Graphical Tutorial

This article is reproduced from: https://www.cnblogs.com/xiezunxu/articles/7228741.html

Dotfuscator: is a .NET obfuscator and compressor that helps you prevent your application from being decompiled. At the same time, it can make your application smaller and more efficient. I am using Dotfuscator version 4.9. The Baidu cloud download link of Dotfuscator is: http://pan.baidu.com/s/1bzJdZC The extraction code is: hmo8. Next, I will give a file that obfuscates the exe format, and other formats are similar. Without further ado, just look at the picture below.

1. Open the Dotfuscator program and select Create new Project.

2. Click the folder icon and add the file in exe format that you want to mix up.

After the addition is successful, do not select Libray after expansion, otherwise, almost all public function variables will not be encrypted and obfuscated, and the code can still be easily seen.

 

 

3. Select the Settings option, set the Disable String Encryption item to No, and other items can be defaulted.

4. Click the Rename option, and then select the Options option to set the Use Enhanced OverLoad Induction option to UnPrintable.

5. Click the String Encryption option and select the file you want to mix.

6. Click the Build Project button.

When you click the triangle button, a dialog box will pop up, select Yes, and then set a name at will.

7. At this time, you can check whether there is an encrypted file in Debug. If not, then there must be an error. The error code should be as follows:

Loading Assemblies...

Could not find a compatible version of ildasm to run on assembly C:\Users\Hello\Desktop\FanBianYi\FanBianYi\bin\Debug\FanBianYi.exe. This assembly was originally built with .NET Framework v4.0.30319.

Build Error.

To confuse different .Net Framework versions, it needs to be configured in the Project Properties in the Settings item. The two files that need to be added are ILASM_v4.0.30319 and ILDASM_v4.0.30319.

 Added ILASM_v4.0.30319

 

Added ILDASM_v4.0.30319

8. Then see that there will be a Dotfuscated folder in the Debug folder of the program, and there will be a mixed exe program in the Dotfuscated asking price folder.

9. Next, view the files before and after compilation in the decompilation.

The exe file that does not use the scramble tool.

The exe file after using the mix tool.

 

End。

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324648642&siteId=291194637