js-confuser icon indicating copy to clipboard operation
js-confuser copied to clipboard

JS-Confuser is a JavaScript obfuscation tool to make your programs *impossible* to read.

Results 69 js-confuser issues
Sort by recently updated
recently updated
newest added

Add 'progress' to Options, which displays a visual progress bar of the obfuscation process in STDOUT ![image](https://github.com/MichaelXF/js-confuser/assets/54221024/6fe55c74-425b-4fd5-9ffd-b73c63bf2262) Example: ```js JsConfuser.obfuscate(contents, { target: "browser", progress: true, preset: "high" }) ```

**Describe the bug:** object extraction of a `const` variable errors at runtime **Config and Small code sample** Config: ```js { compact: true, identifierGenerator: 'randomized', objectExtraction: true, target: 'browser', } ```...

bug

The [generator function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*) or `function*` provides a useful `yield` expression that can be used to divert control flow. This can be used instead of a `break` statement as a more...

enhancement

I'm not really sure if this should be a feature request or issue When it's supposed to "crash the process" on browser, all it does it run `document.documentElement.innerHTML = '';`...

enhancement

**Is your feature request related to a problem? Please describe.** In addition to the global calculator function, local/block-level calculator functions are very annoying to deal with. This is an example...

enhancement

**Is your feature request related to a problem? Please describe.** RenameLabels is a default transform applied every time, however there are cases where this could be unwanted. Such as scripts...

enhancement

**Is your feature request related to a problem? Please describe.** Would make reverse engineering a tiny bit harder. **Describe the solution you'd like** ```js // before while(cond) { /* ......

enhancement

**Is your feature request related to a problem? Please describe.** js-confuser generated code uses `var` instead of the preferred `let` alternative. js-confuser using `var` makes reverse engineering easier, because it...

enhancement

**Config and Small code sample** Config: ```js { target: "node", controlFlowFlattening: true } ``` Code: ```js "use strict"; var myFunction = function () { console.log("Inner"); }; if (true) { function...

bug

**Config and Small code sample** Config: ```js { target: "node", controlFlowFlattening: true } ``` Code: ```js switch (true) { case false: function myFunction() { // This block is never ran,...

bug