SWF anti-cracking, online search and some desired methods.

Source: Internet
Author: User

Think of the following methods:

1.split the game into three packages: load.swf,main.swf,res.swf.

2.load.swf, used to load the masterProgramAnd resources, used to encrypt websites such as Ma Qiu. Change main.swfand res.swfto the suffix main.jpg or another flash saver-protected format.

3. the Config File in main stores the variable value encrypted by the key; Res. the key can be stored in the class or textfield. The key is a combination of the Chinese class and res and main volume (the volume of SwF after cracking is different ).

4. decrypt the variable in config using the key.

With the SWF encrypted by this method, the attacker will think that he has cracked it, but there is no parameter balance in the game, such as the amount of blood required for a single knife, so on the surface, you can play, but there is no gameplay.

 

If not, you can do some minor actions that are not noticed by the scammers. For example, you can determine by volume + time. If the time is greater than one day, a game for websites that are afraid of cracking will pop up. You can also enter some characters to pop up the method to scold the website.

 

Methods found on the Internet

Among the two anti-cracking software I used, the flashincrypt encryption as function is sufficient to prevent the hacker, and the encrypted file size almost keeps the original file size, however, ASV cannot be prevented. Even though ASV is powerless after another swfencrypt encryption, the size of the files it encrypts increases greatly, and it cannot encrypt all the files. In many cases, encryption fails, especially when files are complex.

Recently I came up with a new method:
1. Make a flash, and write the following at the first frame:Code: Loadmovienum ("xxx.jpg", 0). Export it to SwF. For example, export the file named upload_mc.swf, and use swfencrypt to encrypt the upload_mc.swf file ".
2. Use flashincrypt to encrypt the SWF you want to load, and change the suffix to the. jpg format (or another format. We recommend that you use the. jpg?##.gif format. Some special formats do not have good compatibility with different servers, and some may not be accessible ), in this way, no one else knows the path of your SWF. It can also effectively prevent flash downloads.

However, after doing so, you can still get it from the IE cache. Although the difficulty increases, it is not perfect after all.

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.