echo094 / decode-js

JS混淆代码的AST分析工具 AST analysis tool for obfuscated JS code
MIT License
717 stars 336 forks source link

obfuscator: update stringArrayV2 to support rotate function (v < 2.10.0) #61

Closed echo094 closed 1 year ago

echo094 commented 1 year ago

close #60

After PR #55, the recognition of RotateFunction is more strict. However, the template of RotateFunction in versions below 2.10.0 (javascript-obfuscator/javascript-obfuscator@efac711ce40cea34cb2747ba6bba9b7385667c6e) is relatively simplified.

This PR adds a pattern string to match RotateFunction of this version.