Skip to content

Commit

Permalink
v1.7.3 Flast performance update (#80)
Browse files Browse the repository at this point in the history
* Update flast and obfuscation detector

* Adjust test results since the module still needs to be adjusted to the flAST fixes

* 1.7.3
  • Loading branch information
ctrl-escp authored Jun 20, 2023
1 parent b17f89c commit 30ae09d
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
36 changes: 18 additions & 18 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "restringer",
"version": "1.7.2",
"version": "1.7.3",
"description": "Deobfuscate Javascript with emphasis on reconstructing strings",
"main": "index.js",
"bin": {
Expand All @@ -11,9 +11,9 @@
"test": "tests"
},
"dependencies": {
"flast": "^1.4.0",
"flast": "^1.5.0",
"jsdom": "^22.1.0",
"obfuscation-detector": "^1.1.2",
"obfuscation-detector": "^1.1.4",
"vm2": "^3.9.19"
},
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions tests/resources/ds.js-deob.js
Original file line number Diff line number Diff line change
Expand Up @@ -1097,8 +1097,8 @@ var _0x2cb1 = function (_0x4b5899, _0x33789e) {
_0xa832f4 = _0xa832f4.slice(1, -1);
}
try {
var _0x1901fb = _0x3f78bb[0].replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);
_0xa832f4 = _0x5f513e.read ? _0x5f513e.read(_0xa832f4, _0x1901fb) : _0x5f513e(_0xa832f4, _0x1901fb) || _0xa832f4.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);
var _0x1901fb = _0x3f78bb[0].replace(_0x42e676, decodeURIComponent);
_0xa832f4 = _0x5f513e.read ? _0x5f513e.read(_0xa832f4, _0x1901fb) : _0x5f513e(_0xa832f4, _0x1901fb) || _0xa832f4.replace(_0x42e676, decodeURIComponent);
if (this.json)
try {
_0xa832f4 = JSON.parse(_0xa832f4);
Expand Down

0 comments on commit 30ae09d

Please sign in to comment.