Anti-obfuscation method and device for obfuscated code, readable medium and electronic equipment
The invention relates to an anti-obfuscation method and device for obfuscated codes, a readable medium and electronic equipment, and the method comprises the steps: obtaining an obfuscated code text, converting the obfuscated code text into an abstract syntax tree, and carrying out the syntax analys...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to an anti-obfuscation method and device for obfuscated codes, a readable medium and electronic equipment, and the method comprises the steps: obtaining an obfuscated code text, converting the obfuscated code text into an abstract syntax tree, and carrying out the syntax analysis of the abstract syntax tree to obtain an obfuscation mode corresponding to a code block in the obfuscated code text, and determining an anti-obfuscation scheme corresponding to the obfuscation mode, processing the code block according to the anti-obfuscation scheme to obtain an anti-obfuscation code text, and obtaining a target code text according to the anti-obfuscation code text. Through the anti-obfuscation scheme, developers can very quickly acquire the anti-obfuscation high-readability target code text, and quickly acquire the encryption algorithm of the webpage at the same time.
本公开涉及一种混淆代码的反混淆方法、装置、可读介质及电子设备,该方法包括:获取混淆代码文本,将混淆代码文本转换为抽象语法树,对抽象语法树进行语法分析,以获取混淆代码文本中代码块对应的混淆方式,确定混淆方式对应的反混淆方案,根据反混淆方案对代码块进行处理得到反 |
---|