js-confuser
js-confuser copied to clipboard
JS-Confuser is a JavaScript obfuscation tool to make your programs *impossible* to read.
**Is your feature request related to a problem? Please describe.** Strings inside template literals are currently not obfuscated. For example: ```js console.log(`Hello World`) ``` Will preserve the `Hello world` 1:1...
**Describe the bug:** SyntaxError: Identifier '_0x0FD4B81' has already been declared **Config and Small code sample** Config: ```js { target: 'node', preset: 'high', nameRecycling: false, // Gives error if true stringConcealing:...
**Is your feature request related to a problem? Please describe.** Currently regexes are passed through unmodified. **Describe the solution you'd like** Regexes like `/ID\d{6}/g` should use some of the following...
**Describe the bug:** When the code to confuse contains a class with a static field, an error is thrown and code generation does not complete. **Config and Small code sample**...
**Describe the bug:** The program gets stuck in a infinite loop **Config and Small code sample** Config: ```js { target: "node", preset: "high" } ``` Code: ```js console.log("My Small Code...
This is a continuation of #94 but with better logic and implemented as a stage of the obfuscator instead of being taped onto the Finalizer.
The current implementation does not work as expected. If `global` is not known, it immediately throws a ReferenceError and does not even try `window` or `new Function("return this")()`
See #96 for motivation. We shouldn't hold back power users.
Are there any in the plans VM obfuscation? Like in js defender or jscrambler?
**Is your feature request related to a problem? Please describe.** I am hitting the limit here: https://github.com/MichaelXF/js-confuser/blob/30e4043a8b007a002648cb71ae0aef36bb5edf2e/src/transforms/string/stringConcealing.ts#L196 Why does it exist? Also, the `!` is causing the chance to be...