Comments (12)
这也是Obfuscator,但是这个脚本可能被错误格式化了,导致运算符?.
(Optional chaining)中间被加了空格,就变成了?
(Conditional (ternary) operator)加.
,让AST无法正确生成语法树,也就是在正式分析前就发生异常结束了。
例如第117行:
_0x299db7[_0x3d58d9(0x31b) + '\x64'] = _0x299db7 ? . [_0x3d58d9(0x31b) + '\x64'] ? . [_0x3d58d9(0x1e0) + '\x65\x72\x43\x61\x73' + '\x65']() || _0x468f39[_0x3d58d9(0x393)];
正确的写法:
_0x299db7[_0x3d58d9(0x31b) + '\x64'] = _0x299db7 ?. [_0x3d58d9(0x31b) + '\x64'] ?. [_0x3d58d9(0x1e0) + '\x65\x72\x43\x61\x73' + '\x65']() || _0x468f39[_0x3d58d9(0x393)];
你再确认一下这个脚本能不能运行,然后用格式化前的版本解混淆。
也可以先把? .
中的空格去掉再解混淆。
from decode-js.
整个脚本原版应该在 leafTheFish/DeathNote@62dfc95,是sfsyV2.js,这个版本是没问题的。
from decode-js.
这也是Obfuscator,但是这个脚本可能被错误格式化了,导致运算符
?.
(Optional chaining)中间被加了空格,就变成了?
(Conditional (ternary) operator)加.
,让AST无法正确生成语法树,也就是在正式分析前就发生异常结束了。例如第117行:
_0x299db7[_0x3d58d9(0x31b) + '\x64'] = _0x299db7 ? . [_0x3d58d9(0x31b) + '\x64'] ? . [_0x3d58d9(0x1e0) + '\x65\x72\x43\x61\x73' + '\x65']() || _0x468f39[_0x3d58d9(0x393)];正确的写法:
_0x299db7[_0x3d58d9(0x31b) + '\x64'] = _0x299db7 ?. [_0x3d58d9(0x31b) + '\x64'] ?. [_0x3d58d9(0x1e0) + '\x65\x72\x43\x61\x73' + '\x65']() || _0x468f39[_0x3d58d9(0x393)];你再确认一下这个脚本能不能运行,然后用格式化前的版本解混淆。
也可以先把
? .
中的空格去掉再解混淆。
那是为什么我运行就不行,有一部分报错,有一部分成功,我格式化插件有问题吗?那应该怎么格式化才避免这样的错误出现?我使用的vscode编辑器eslint格式化,是不是这个导致的,那不是要关闭不用格式化插件了,你有使用格式化插件吗
from decode-js.
这种混淆过的脚本就别格式化了,解出来的能用就别去管了。
我的配置文件已经在仓库里了:.eslintrc.json,这个?.
是ecmascript 2020的新特性,如果你配置文件里的版本较低,应该会报错。
from decode-js.
这种混淆过的脚本就别格式化了,解出来的能用就别去管了。
我的配置文件已经在仓库里了:.eslintrc.json,这个
?.
是ecmascript 2020的新特性,如果你配置文件里的版本较低,应该会报错。
我也是使用的你这个配置文件,我现在只要一保存就会自动格式化,格式化就爆红,貌似这个eslist配置文件是摆设,没用起到作用
from decode-js.
那还是把自动格式化关掉吧,我自己反正只格式化了src里面的东西。
from decode-js.
那还是把自动格式化关掉吧,我自己反正只格式化了src里面的东西。
还可以指定格式化哪些路径啊,我平常都是不使用eslit的,几乎为0使用eslit,留个vx向你学习
from decode-js.
做这种项目,留不得vx
from decode-js.
做这种项目,留不得vx
vx只要不聊哪些违禁的也还好,那就留下tg吧
from decode-js.
我把discussions开了,可以在那边讨论哈。
from decode-js.
from decode-js.
- 这个是sojson类型的,你用错插件了。
- 要把第二行拿出来解混淆,和#4 一样,不然会产生干扰。
- 这个脚本经过了两次sojson类型的混淆,所以你在第一次输出的代码上再解混淆一次。
from decode-js.
Related Issues (20)
- 全局简单混淆嵌套局部V7混淆 HOT 5
- 大佬有空看看这个吧,解密不完全。 HOT 1
- sojson类型解除自卫模式和禁止控制台调试失效 HOT 8
- obfuscator: 解由旧版本混淆的代码时出现异常 HOT 2
- obfuscator: Fallback模式无法正确分离排序函数及其它细节上的bug HOT 2
- sojsonv7: 排序函数模版更新后无法识别 HOT 1
- other: @babel/parser RangeError: Maximum call stack size exceeded HOT 2
- other: 关于二次封装 HOT 2
- obfuscator: 在 #55 后失效 HOT 2
- sojsonv7: 版本更新后无法识别rotateFunction HOT 14
- sojsonv7: rotateFunction出现新特征 HOT 1
- sojsonv7出错 HOT 3
- sojsonv7: string-array与version在一行定义中时出错 HOT 6
- sojsonv7: Cannot find string list HOT 1
- other: 混淆方式定位问题 HOT 3
- jjencode: Cannot find variable name! HOT 3
- jsjiami.com.v7加密的能解密吗? HOT 1
- sojsonv7: decode local object failed HOT 5
- other: 未知的obfuscator派系混淆 HOT 7
- sojsonv7: exception occured while excuting purifyFunction and missing method for domain-lock HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from decode-js.