Skip to content

lautumn1990/deobfuscate-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

使用python库还原字面量

参考js混淆还原

针对数组类混淆, 可以找出变量函数然后进行代码替换

先使用jsbeautifier进行一遍格式化

# 安装
pip install PyExecJS

手动找到混淆函数

如果碰到UnicodeEncodeError: 'gbk' codec can't encode character '\U0001f55b' in position 7226: illegal multibyte sequence错误, 则修改subprocess.py文件, 如C:\Users\Lenovo\AppData\Local\Programs\Python\Python39\Lib\subprocess.py, 中的class Popen->def __init__->encoding=None改成encoding="utf-8"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published