JavaScript obfuscation method based on syntax tree AST editing
A syntax tree and editing technology, applied in the field of JavaScript obfuscation, to achieve the effect of improving protection, increasing the difficulty of cracking, and increasing the difficulty
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0059] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention.
[0060] The invention provides a JavaScript obfuscation method realized based on syntax tree AST editing, comprising the following steps:
[0061] S1. Analyze and generate AST syntax tree: compress JavaScript source code to remove redundant code, analyze and generate AST syntax tree;
[0062] S2. Edit and transform the syntax: traverse the AST syntax tree, and edit and transform the syntax in it;
[0063] S3. Create an array arrayA, and extract the character string of the AST syntax tree, and convert it into a data dictionary of a two-dimensional array through a specific algorithm;
[0064] S4. Create a decoding method, and randomly insert the decoding method and the...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com