Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Code file obfuscation method and device, electronic equipment and storage medium

A code file and file technology, applied in the direction of program/content distribution protection, etc., can solve the problems of website security risks, damage to user privacy and interests, and increase the difficulty of crackers, etc.

Pending Publication Date: 2020-12-22
MIGU CO LTD +1
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, limited by the development of the WEB, the JavaScript script in the H5 of the web page is published on the front-end browser of the WEB application
It is easy for attackers to obtain and tamper with the code, which brings great security risks to the website, thereby compromising the privacy and interests of users
Therefore, the reinforcement technology to protect the security of the script code has become very important. Among them, the obfuscation technology transforms the original script code into a code that has the same function as it but is difficult to understand, which greatly increases the difficulty of the cracker.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Code file obfuscation method and device, electronic equipment and storage medium
  • Code file obfuscation method and device, electronic equipment and storage medium
  • Code file obfuscation method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059]In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0060] figure 1 It shows a schematic flowchart of a code file obfuscation method provided by an embodiment of the present invention, see figure 1 , the method includes:

[0061] S11. Obtain the first syntax tree corresponding to the source code file, and determine the operator node and the operand node belonging to the operator node accordin...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Embodiments of the invention provide a code file obfuscation method and device, electronic equipment and a storage medium. The method comprises the steps of determining an operator node and an operandnode according to a first syntax tree; creating a basic function file according to node contents corresponding to the operator node and the operand node; creating an agent function file according tothe node content corresponding to the operand node and the basic function file; and modifying the first syntax tree according to the proxy function file to obtain a second syntax tree, and obtaining an obfuscated code file according to the second syntax tree. The embodiment of the invention provides the code file obfuscation method, the electronic equipment and the storage medium. By recognizing the operator node and the operand node in the syntax tree, the execution functions of an operator and an operand are achieved through a basic function, an agent function is used for agenting the operator function, the operator function is mapped to the basic function, confusion of the operators and the operands can be achieved, and the reverse difficulty of code file cracking is increased.

Description

technical field [0001] The invention relates to the technical fields of machine learning and video analysis, in particular to a code file obfuscation method, device, electronic equipment and storage medium. Background technique [0002] With the vigorous development of Internet technology, WEB applications are favored by many users of mobile phones, PCs, and smart homes. However, limited by the development of the WEB, the JavaScript script in the web page H5 is published on the front-end browser of the WEB application. It is easy for attackers to obtain and tamper with the code, which brings a great security risk to the website and damages the privacy and interests of users. Therefore, the reinforcement technology to protect the security of the script code has become very important. Among them, the obfuscation technology transforms the original script code into a code that has the same function as it but is difficult to understand, which greatly increases the difficulty of ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F21/14
CPCG06F21/14
Inventor 高迪夏冰于大鹏兰丽蒲志明
Owner MIGU CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products