Encrypting the asp code can effectively prevent our privacy from leaking, but many friends do not know the encryption method of ASP code. So let’s take a look at several methods for encryption of ASP code now, hoping it will be helpful to you.
1.MS SCRIPT ENCODE
Basically, it's useless, it can be cracked in just one piece of JS
2. Encapsulated into DLL
A more feasible method is an example of encapsulating it into a DLL through VB, and there is no need to change a lot of code, it is easy to modify, and it is also very simple to call. The disadvantage is that DLL controls need to be registered, and virtual hosts usually cannot meet this requirement.
When encapsulating, you can add code for host domain name judgment in the code. If it is not correct, it will be refused to run. However, encapsulation classes are recommended, and the presentation logic should be left in the ASP file. Haha
Case:Dongyi CMS
However, VB is an interpreted language and seems to be decompiled
3. Use NETBOX
An ASP server-side program developed by Chinese people can package ASP files. The flaw is that some ASP functions do not support them and there is still ASP source code in memory.
Case: Mai Xiu (using NETBOX as the platform, not an unencrypted ASP)
In fact, it would be OK to not disclose the program, but the villain will still try to sneak into your server to steal the program code. (Refer to the incident of sm*rtipb webmaster hacking the ipbcn server.)
The above is the encryption method of ASP code. Have you learned it? Maybe you will put forward some different opinions, it doesn’t matter, leave us a message and discuss together!