echo094 / decode-js

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

obfuscator: 使用低版本(<0.22.0)以及eval包装 #77

Closed huanzhiyi closed 8 months ago

huanzhiyi commented 9 months ago

类型: obfuscator 还原数值... 处理全局加密... Try v3 mode... Try v2 mode... Essential code missing! Cannot find string list!

echo094 commented 8 months ago

两个条目需要适配:

  1. 将代码当作字符串进行进一步编码,随后交给eval执行
  2. 使用了旧版本的obfuscator,时间早于commit javascript-obfuscator/javascript-obfuscator@3a1cc4e4f5f0c172448fa268b4f415fdee805c4f (0.22.0)。上述版本中变量kind都为var,后续版本则会将常量改为constant
echo094 commented 8 months ago

已修复,见LOG:

log_77_1.txt

huanzhiyi commented 8 months ago

好的 去测试一下 🙏🏻