obfuscation-detector
Advanced tools
Comparing version 1.1.5 to 1.1.6
{ | ||
"name": "obfuscation-detector", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"description": "Javascript obfuscation detector", | ||
@@ -34,8 +34,8 @@ "main": "src/index.js", | ||
"devDependencies": { | ||
"eslint": "^8.45.0", | ||
"eslint": "^8.49.0", | ||
"husky": "^8.0.1" | ||
}, | ||
"dependencies": { | ||
"flast": "^1.5.0" | ||
"flast": "^1.5.2" | ||
} | ||
} |
@@ -23,12 +23,19 @@ # Obfuscation Detector | ||
### CLI | ||
> obfuscation-detector /path/to/obfuscated.js [stopAfterFirst] | ||
```bash | ||
obfuscation-detector /path/to/obfuscated.js [stopAfterFirst] | ||
``` | ||
Getting all matching obfuscation types for a file: | ||
> $ obfuscation-detector /path/to/obfuscated.js | ||
> [+] function_to_array_replacements, augmented_proxied_array_function_replacements | ||
```bash | ||
$ obfuscation-detector /path/to/obfuscated.js | ||
[+] function_to_array_replacements, augmented_proxied_array_function_replacements | ||
``` | ||
Getting just the first match: | ||
> $ obfuscation-detector /path/to/obfuscated.js stop | ||
> [+] function_to_array_replacements | ||
```bash | ||
$ obfuscation-detector /path/to/obfuscated.js stop | ||
[+] function_to_array_replacements | ||
``` | ||
The `stopAfterFirst` arguments doesn't have to be any specific string, it just needs not to be empty. | ||
@@ -35,0 +42,0 @@ |
@@ -0,0 +0,0 @@ const { |
@@ -0,0 +0,0 @@ const { |
@@ -0,0 +0,0 @@ const { |
@@ -0,0 +0,0 @@ const { |
@@ -0,0 +0,0 @@ const obfuscationName = 'augmented_proxied_array_function_replacements'; |
@@ -0,0 +0,0 @@ const obfuscationName = 'function_to_array_replacements'; |
@@ -0,0 +0,0 @@ const obfuscationName = 'obfuscator.io'; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ const {generateFlatAST} = require('flast'); |
@@ -0,0 +0,0 @@ const fs = require('node:fs'); |
921802
53
Updatedflast@^1.5.2