Practices for obfuscation of Asp.net program with dotfuscator

Source: Internet
Author: User

Introduction: The modified program needs to be re-obfuscated, but the original obfuscation configuration is overwritten. The program with obfuscation always reports the "cocould not load type 'xxx" error, at first, I thought it was a program problem. After comparison, I found it was a obfuscation problem. As a result, I spent a whole day experimenting with dotfuscator to confuse the Asp.net program. Below I will summarize the practices as follows:

The English level is limited, and improper translation is inevitable. You are welcome to criticize and correct me. Please tell me what you know. Thank you!

1. After a project is created, do not select the input instance (libray). Otherwise, almost all public function variables will not be encrypted or confused, so you can easily see the code.

2. Rename settings

During renaming, all class names, functions, variables, and variables that must be explicitly used must be excluded,The following is a description:

1. The class name of the webpage Code itself. Because the webpage class name needs to be explicitly referenced in aspx, it cannot be encrypted.

2. Name of the function to be called in the form of <% = get_aa ()> In the aspx File

3. Variable names that need to be called in the form of <% = value> In the aspx File

See the correspondence on the left

In rename, the reverse tracing of characters can be enhanced.

3. Character Encryption Settings: directly select all

4. Finally, let's take a look at the options tab settings. The following text is from Microsoft and I would like to thank you.

Use this tab to set global options for the project. You can also enable or disable the dotfuscator function on this tab, for example, rename. The following describes the options you can set:
Disable [function]. Dotfuscator can enable or disable each of its conversions.
Generation progress. This option controls the degree of detail of dotfuscator output during generation.
Only conduct investigation. This option indicates that dotfuscator generates a report but does not generate an output assembly.

A

Here is an article written by other netizens <C # encryption method for obfuscated code using dotfuscator>. For more information, see.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.