javascript-deobfuscator icon indicating copy to clipboard operation
javascript-deobfuscator copied to clipboard

General purpose JavaScript deobfuscator

Results 17 javascript-deobfuscator issues
Sort by recently updated
recently updated
newest added

In the following example, the declaration of `bar` via `const bar = function(){…}` is not incorporated in the deobfuscation result of function body `foo`: ```js function foo() { const bar...

``` function R(a) { return a - 42 + 42; } ``` should be simplified to ``` function R(a) { return a; } ``` but is not. ![image](https://github.com/ben-sb/javascript-deobfuscator/assets/19511852/3da4b599-e6b3-4766-8e8e-5d653e8fe5c0)

## Feature Request Unpack Objects. This already works for arrays. ## Example Unpack `foo[42]` into `"hello world"`. ```js var foo = {42: "hello world"}; console.log(foo[42]); ``` ## Expected Result ```js...

```js function foo() { const x = 0; return x; } ``` to ```js function foo() return 0; } ```

It hangs up and does not respond to script at https://s.yimg.com/rq/iv/inside-1.js

```js var i = undefined; i?.call(); var x = i ?? 0; ``` This will cause a parser error. Not sure if you use a library for this that needs...

For example: ``` var i, n, r, Ya; (Ya = [2, 0]), (r = e.length), (n = r