diff --git a/README.md b/README.md index c44d8d8..48cedaa 100644 --- a/README.md +++ b/README.md @@ -20,15 +20,22 @@ console.log(`Obfuscation type is probably ${most_likely_obfuscation_type}`); ``` ### 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.