restringer
Advanced tools
Comparing version 1.9.0 to 1.9.1
{ | ||
"name": "restringer", | ||
"version": "1.9.0", | ||
"version": "1.9.1", | ||
"description": "Deobfuscate Javascript with emphasis on reconstructing strings", | ||
@@ -14,6 +14,6 @@ "main": "index.js", | ||
"dependencies": { | ||
"flast": "^1.5.0", | ||
"isolated-vm": "^4.5.0", | ||
"flast": "^1.5.2", | ||
"isolated-vm": "^4.6.0", | ||
"jsdom": "^22.1.0", | ||
"obfuscation-detector": "^1.1.4" | ||
"obfuscation-detector": "^1.1.6" | ||
}, | ||
@@ -20,0 +20,0 @@ "scripts": { |
@@ -85,3 +85,3 @@ # Restringer | ||
Unsafe modules run code through `eval` (using [vm2](https://www.npmjs.com/package/vm2) to be on the safe side) while safe modules do not. | ||
Unsafe modules run code through `eval` (using [isolated-vm](https://www.npmjs.com/package/isolated-vm) to be on the safe side) while safe modules do not. | ||
@@ -91,4 +91,5 @@ ```javascript | ||
safe: {normalizeComputed}, | ||
unsafe: {resolveDefiniteBinaryExpressions, resolveLocalCalls} | ||
} = require('restringer').modules; | ||
unsafe: {resolveDefiniteBinaryExpressions, resolveLocalCalls}, | ||
utils: {runLoop} | ||
} = require('restringer').deobModules; | ||
let script = 'obfuscated JS here'; | ||
@@ -106,3 +107,6 @@ const deobModules = [ | ||
```javascript | ||
const {unsafe: {resolveLocalCalls}} = require('restringer').modules; | ||
const { | ||
unsafe: {resolveLocalCalls}, | ||
utils: {runLoop} | ||
} = require('restringer').deobModules; | ||
let script = 'obfuscated JS here'; | ||
@@ -109,0 +113,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
669769
127
Updatedflast@^1.5.2
Updatedisolated-vm@^4.6.0
Updatedobfuscation-detector@^1.1.6