{"repo":"ben-sb/javascript-deobfuscator","free":true,"listed":false,"github":"https://github.com/ben-sb/javascript-deobfuscator","clone":"git clone https://github.com/ben-sb/javascript-deobfuscator.git","description":"General purpose JavaScript deobfuscator","language":"TypeScript","stars":1146,"topics":["javascript","deobfuscation","reverse-engineering"],"license":"Apache-2.0","category":"security-tools","readme_excerpt":"General purpose JavaScript deobfuscator A simple but powerful deobfuscator to remove common JavaScript obfuscation techniques. Open an issue if there is a feature you think should be implemented. Online version at deobfuscate.io Install via npm install js-deobfuscator Looking for a deobfuscator specific to Obfuscator.io/javascript-obfuscator? Try this repo If you would like to discuss/learn about JavaScript obfuscation and deobfuscation you can join the Discord server Features - Unpacks arrays containing literals (strings, numbers etc) and replaces all references to them - Removes simple proxy functions (calls to another function), array proxy functions and arithmetic proxy functions (binary expressions) - Simplifies arithmetic expressions - Simplifies string concatenation - Renames unreadable hexadecimal identifiers (e.g. \\ 0xca830a) - Converts computed to static member expressions and beautifies the code Examples See bottom for more complicated example with features chained together. Array Unpacking Before After Proxy Functions An example with simple proxy functions for other functions Before After An example with proxy functions for arithmetic Before After An example with chained proxy functions Before After Expression Simplification An example with numbers Before After An example with strings. Before After Overall Example All these features can be chained together to simplify code. Before After Config To Run Either install the module locally via npm install js-deobfuscato","default_branch":null,"files":null,"tree":[],"storefront":"/r/ben-sb","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ben-sb/javascript-deobfuscator/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}