j4k0xb / webcrack

Deobfuscate obfuscator.io, unminify and unpack bundled javascript
https://webcrack.netlify.app
MIT License
663 stars 72 forks source link

Cannot read properties of null (reading 'buildUndefinedNode') #7

Closed Geczy closed 1 year ago

Geczy commented 1 year ago

Describe the bug

Just running webcrack on an index.js from webpack

Expected Behaviour

Shouldn't be an error

Code

/Users/matt/.nvm/versions/node/v16.18.1/lib/node_modules/webcrack/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js:55
    exprs.push(scope.buildUndefinedNode());
                     ^

TypeError: Cannot read properties of null (reading 'buildUndefinedNode')
    at gatherSequenceExpressions (/Users/matt/.nvm/versions/node/v16.18.1/lib/node_modules/webcrack/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js:55:22)
    at toSequenceExpression (/Users/matt/.nvm/versions/node/v16.18.1/lib/node_modules/webcrack/node_modules/@babel/types/lib/converters/toSequenceExpression.js:11:57)
    at NodePath.replaceExpressionWithStatements (/Users/matt/.nvm/versions/node/v16.18.1/lib/node_modules/webcrack/node_modules/@babel/traverse/lib/path/replacement.js:140:37)
    at NodePath.insertBefore (/Users/matt/.nvm/versions/node/v16.18.1/lib/node_modules/webcrack/node_modules/@babel/traverse/lib/path/modification.js:48:17)
    at Object.exit (file:///Users/matt/.nvm/versions/node/v16.18.1/lib/node_modules/webcrack/dist/cli.js:434:16)
    at NodePath._call (/Users/matt/.nvm/versions/node/v16.18.1/lib/node_modules/webcrack/node_modules/@babel/traverse/lib/path/context.js:45:20)
    at NodePath.call (/Users/matt/.nvm/versions/node/v16.18.1/lib/node_modules/webcrack/node_modules/@babel/traverse/lib/path/context.js:35:17)
    at NodePath.visit (/Users/matt/.nvm/versions/node/v16.18.1/lib/node_modules/webcrack/node_modules/@babel/traverse/lib/path/context.js:89:8)
    at TraversalContext.visitQueue (/Users/matt/.nvm/versions/node/v16.18.1/lib/node_modules/webcrack/node_modules/@babel/traverse/lib/context.js:86:16)
    at TraversalContext.visitSingle (/Users/matt/.nvm/versions/node/v16.18.1/lib/node_modules/webcrack/node_modules/@babel/traverse/lib/context.js:65:19)

Logs

No response

j4k0xb commented 1 year ago

Could you please also share the index.js script so I can debug where/why it happens?

Geczy commented 1 year ago

Sure, see attached --removed--

j4k0xb commented 1 year ago

Thanks, fixed in https://github.com/j4k0xb/webcrack/releases/tag/v2.1.3

Also noticed the bundle is generated by a newer webpack version.. support to unpack it will be added sooner or later

Geczy commented 1 year ago

oh cool thanks for the fix. haven't tried it yet, but are you saying the unpack will fail regardless of this issue, because it's too new webpack? or will i have some success unpacking right now?

j4k0xb commented 1 year ago

Regardless of this issue it only works with the webpack v4 format as of now

j4k0xb commented 1 year ago

@Geczy its now possible to unpack

Geczy commented 1 year ago

omg :o let me go try ty

Geczy commented 1 year ago

@j4k0xb do you know what these errors are?

webcrack-out npx webpack-cli ./            
Need to install the following packages:
  webpack-cli@5.0.2
Ok to proceed? (y) 
assets by status 2.01 MiB [cached] 1 asset
runtime modules 2.58 KiB 7 modules
orphan modules 12.9 KiB [orphan] 2 modules
cacheable modules 3.72 MiB
  ./index.js 3 KiB [built] [code generated]
  ./72298.js 37 bytes [built] [code generated]
  ./25996.js 890 bytes [built] [code generated]
  ./72447.js 3.21 KiB [built] [code generated]
  + 704 modules
modules by path ././ 960 bytes
  modules by path ././ sync ^.*build//Release//kr/ 480 bytes
    ././ sync ^.*build\/Release\/kr\-native\-utils\.node$ 160 bytes [built] [code generated]
    + 2 modules
  ././ sync 160 bytes [built] [code generated]
  ././ sync ^.*build\/Release\/spdlog\.node$ 160 bytes [built] [code generated]
  ././ sync ^.*build\/Release\/realm\.node$ 160 bytes [built] [code generated]

WARNING in ./18353.js 1287:22-1290:15
Critical dependency: the request of a dependency is an expression
 @ ./7630.js 5:18-39
 @ ./18279.js 42:28-48
 @ ./46718.js 43:18-39
 @ ./10995.js 6:18-39
 @ ./index.js 14:18-39

WARNING in ./35474.js 1:26-33
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
 @ ./27475.js 45:28-49
 @ ./46718.js 49:18-39
 @ ./10995.js 6:18-39
 @ ./index.js 14:18-39

WARNING in ./48493.js 6:26-33
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
 @ ./42694.js 12:28-49
 @ ./27738.js 58:28-49
 @ ./1537.js 33:28-49
 @ ./10995.js 7:18-38
 @ ./index.js 14:18-39

WARNING in ./49355.js 7:18-36
export 'Readable' (imported as '_0xe05099') was not found in './12781.js' (module has no exports)
 @ ./74550.js 41:6-27
 @ ./48493.js 7:0-21
 @ ./42694.js 12:28-49
 @ ./27738.js 58:28-49
 @ ./1537.js 33:28-49
 @ ./10995.js 7:18-38
 @ ./index.js 14:18-39

WARNING in ./49355.js 106:14-41
Module not found: Error: Can't resolve 'encoding' in '/Users/matt/webcrack-out'
 @ ./74550.js 41:6-27
 @ ./48493.js 7:0-21
 @ ./42694.js 12:28-49
 @ ./27738.js 58:28-49
 @ ./1537.js 33:28-49
 @ ./10995.js 7:18-38
 @ ./index.js 14:18-39

WARNING in ./49355.js 109:18-39
export 'PassThrough' (imported as '_0xe05099') was not found in './12781.js' (module has no exports)
 @ ./74550.js 41:6-27
 @ ./48493.js 7:0-21
 @ ./42694.js 12:28-49
 @ ./27738.js 58:28-49
 @ ./1537.js 33:28-49
 @ ./10995.js 7:18-38
 @ ./index.js 14:18-39

WARNING in ./49355.js 571:18-40
export 'STATUS_CODES' (imported as '_0x208d32') was not found in './13685.js' (module has no exports)
 @ ./74550.js 41:6-27
 @ ./48493.js 7:0-21
 @ ./42694.js 12:28-49
 @ ./27738.js 58:28-49
 @ ./1537.js 33:28-49
 @ ./10995.js 7:18-38
 @ ./index.js 14:18-39

WARNING in ./49355.js 653:18-31
export 'URL' (imported as '_0x54be6e') was not found in './57310.js' (module has no exports)
 @ ./74550.js 41:6-27
 @ ./48493.js 7:0-21
 @ ./42694.js 12:28-49
 @ ./27738.js 58:28-49
 @ ./1537.js 33:28-49
 @ ./10995.js 7:18-38
 @ ./index.js 14:18-39

WARNING in ./49355.js 654:18-33
export 'parse' (imported as '_0x54be6e') was not found in './57310.js' (module has no exports)
 @ ./74550.js 41:6-27
 @ ./48493.js 7:0-21
 @ ./42694.js 12:28-49
 @ ./27738.js 58:28-49
 @ ./1537.js 33:28-49
 @ ./10995.js 7:18-38
 @ ./index.js 14:18-39

WARNING in ./49355.js 655:18-34
export 'format' (imported as '_0x54be6e') was not found in './57310.js' (module has no exports)
 @ ./74550.js 41:6-27
 @ ./48493.js 7:0-21
 @ ./42694.js 12:28-49
 @ ./27738.js 58:28-49
 @ ./1537.js 33:28-49
 @ ./10995.js 7:18-38
 @ ./index.js 14:18-39

WARNING in ./49355.js 770:18-31
export 'URL' (imported as '_0x54be6e') was not found in './57310.js' (module has no exports)
 @ ./74550.js 41:6-27
 @ ./48493.js 7:0-21
 @ ./42694.js 12:28-49
 @ ./27738.js 58:28-49
 @ ./1537.js 33:28-49
 @ ./10995.js 7:18-38
 @ ./index.js 14:18-39

WARNING in ./49355.js 771:18-39
export 'PassThrough' (imported as '_0xe05099') was not found in './12781.js' (module has no exports)
 @ ./74550.js 41:6-27
 @ ./48493.js 7:0-21
 @ ./42694.js 12:28-49
 @ ./27738.js 58:28-49
 @ ./1537.js 33:28-49
 @ ./10995.js 7:18-38
 @ ./index.js 14:18-39

WARNING in ./49355.js 791:56-74
export 'Readable' (imported as '_0xe05099') was not found in './12781.js' (module has no exports)
 @ ./74550.js 41:6-27
 @ ./48493.js 7:0-21
 @ ./42694.js 12:28-49
 @ ./27738.js 58:28-49
 @ ./1537.js 33:28-49
 @ ./10995.js 7:18-38
 @ ./index.js 14:18-39

WARNING in ./49355.js 832:54-72
export 'Readable' (imported as '_0xe05099') was not found in './12781.js' (module has no exports)
 @ ./74550.js 41:6-27
 @ ./48493.js 7:0-21
 @ ./42694.js 12:28-49
 @ ./27738.js 58:28-49
 @ ./1537.js 33:28-49
 @ ./10995.js 7:18-38
 @ ./index.js 14:18-39

WARNING in ./49355.js 1010:15-37
export 'Z_SYNC_FLUSH' (imported as '_0x18cfa8') was not found in './59796.js' (module has no exports)
 @ ./74550.js 41:6-27
 @ ./48493.js 7:0-21
 @ ./42694.js 12:28-49
 @ ./27738.js 58:28-49
 @ ./1537.js 33:28-49
 @ ./10995.js 7:18-38
 @ ./index.js 14:18-39

WARNING in ./49355.js 1011:21-43
export 'Z_SYNC_FLUSH' (imported as '_0x18cfa8') was not found in './59796.js' (module has no exports)
 @ ./74550.js 41:6-27
 @ ./48493.js 7:0-21
 @ ./42694.js 12:28-49
 @ ./27738.js 58:28-49
 @ ./1537.js 33:28-49
 @ ./10995.js 7:18-38
 @ ./index.js 14:18-39

WARNING in ./49355.js 1014:35-57
export 'createGunzip' (imported as '_0x18cfa8') was not found in './59796.js' (module has no exports)
 @ ./74550.js 41:6-27
 @ ./48493.js 7:0-21
 @ ./42694.js 12:28-49
 @ ./27738.js 58:28-49
 @ ./1537.js 33:28-49
 @ ./10995.js 7:18-38
 @ ./index.js 14:18-39

WARNING in ./49355.js 1021:64-87
export 'createInflate' (imported as '_0x18cfa8') was not found in './59796.js' (module has no exports)
 @ ./74550.js 41:6-27
 @ ./48493.js 7:0-21
 @ ./42694.js 12:28-49
 @ ./27738.js 58:28-49
 @ ./1537.js 33:28-49
 @ ./10995.js 7:18-38
 @ ./index.js 14:18-39

WARNING in ./49355.js 1021:108-134
export 'createInflateRaw' (imported as '_0x18cfa8') was not found in './59796.js' (module has no exports)
 @ ./74550.js 41:6-27
 @ ./48493.js 7:0-21
 @ ./42694.js 12:28-49
 @ ./27738.js 58:28-49
 @ ./1537.js 33:28-49
 @ ./10995.js 7:18-38
 @ ./index.js 14:18-39

WARNING in ./49355.js 1032:38-70
export 'createBrotliDecompress' (imported as '_0x18cfa8') was not found in './59796.js' (module has no exports)
 @ ./74550.js 41:6-27
 @ ./48493.js 7:0-21
 @ ./42694.js 12:28-49
 @ ./27738.js 58:28-49
 @ ./1537.js 33:28-49
 @ ./10995.js 7:18-38
 @ ./index.js 14:18-39

WARNING in ./49355.js 1033:35-67
export 'createBrotliDecompress' (imported as '_0x18cfa8') was not found in './59796.js' (module has no exports)
 @ ./74550.js 41:6-27
 @ ./48493.js 7:0-21
 @ ./42694.js 12:28-49
 @ ./27738.js 58:28-49
 @ ./1537.js 33:28-49
 @ ./10995.js 7:18-38
 @ ./index.js 14:18-39

WARNING in ./54412.js 70:12-73:13
Critical dependency: the request of a dependency is an expression
 @ ./48493.js 1:18-39
 @ ./42694.js 12:28-49
 @ ./27738.js 58:28-49
 @ ./1537.js 33:28-49
 @ ./10995.js 7:18-38
 @ ./index.js 14:18-39

WARNING in ./54412.js 96:26-41
Module not found: Error: Can't resolve 'os' in '/Users/matt/webcrack-out'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "os": require.resolve("os-browserify/browser") }'
        - install 'os-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "os": false }
 @ ./48493.js 1:18-39
 @ ./42694.js 12:28-49
 @ ./27738.js 58:28-49
 @ ./1537.js 33:28-49
 @ ./10995.js 7:18-38
 @ ./index.js 14:18-39

WARNING in ./73643.js 1:26-33
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
 @ ./68256.js 13:28-49
 @ ./10995.js 13:18-39
 @ ./index.js 14:18-39

WARNING in ./75558.js 85:23-44
export 'TextEncoder' (imported as '_0x136aa3') was not found in './73837.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 195:119-137
export 'hostname' (imported as '_0x51f1a0') was not found in './22037.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 216:24-37
export 'URL' (imported as '_0x115da2') was not found in './57310.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 237:12-25
export 'URL' (imported as '_0x115da2') was not found in './57310.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 241:21-39
export 'Readable' (imported as '_0x4aec4e') was not found in './12781.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 253:41-61
export 'createGzip' (imported as '_0x5cae9d') was not found in './59796.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 317:19-41
export 'format' (imported as '_0x136aa3') was not found in './73837.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 394:72-85
export 'URL' (imported as '_0x115da2') was not found in './57310.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 394:127-140
export 'URL' (imported as '_0x115da2') was not found in './57310.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 709:10-28
export 'readFile' (imported as '_0x2c7bf8') was not found in './57147.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 799:26-33
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 799:36-43
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 799:50-57
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 799:60-67
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 802:19-26
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 802:43-50
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 813:28-45
export 'dirname' (imported as '_0x3eed26') was not found in './71017.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 820:34-48
export 'join' (imported as '_0x3eed26') was not found in './71017.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 822:21-41
export 'existsSync' (imported as '_0x2c7bf8') was not found in './57147.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 826:47-69
export 'readFileSync' (imported as '_0x2c7bf8') was not found in './57147.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 840:22-41
export 'promisify' (imported as '_0x136aa3') was not found in './73837.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 840:43-61
export 'readFile' (imported as '_0x2c7bf8') was not found in './57147.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 841:22-41
export 'promisify' (imported as '_0x136aa3') was not found in './73837.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 841:43-60
export 'readdir' (imported as '_0x2c7bf8') was not found in './57147.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 892:37-54
export 'freemem' (imported as '_0x51f1a0') was not found in './22037.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 900:26-44
export 'platform' (imported as '_0x51f1a0') was not found in './22037.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 905:32-49
export 'release' (imported as '_0x51f1a0') was not found in './22037.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 907:41-58
export 'release' (imported as '_0x51f1a0') was not found in './22037.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 911:22-40
export 'execFile' (imported as '_0x738ab1') was not found in './32081.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 928:32-49
export 'release' (imported as '_0x51f1a0') was not found in './22037.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 937:38-52
export 'join' (imported as '_0x3eed26') was not found in './71017.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 953:23-40
export 'release' (imported as '_0x51f1a0') was not found in './22037.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 970:26-42
export 'uptime' (imported as '_0x51f1a0') was not found in './22037.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 970:46-62
export 'uptime' (imported as '_0x51f1a0') was not found in './22037.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 974:25-39
export 'arch' (imported as '_0x51f1a0') was not found in './22037.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 976:34-52
export 'totalmem' (imported as '_0x51f1a0') was not found in './22037.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 977:34-51
export 'freemem' (imported as '_0x51f1a0') was not found in './22037.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 980:28-42
export 'cpus' (imported as '_0x51f1a0') was not found in './22037.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 1142:112-127
export 'parse' (imported as '_0x115da2') was not found in './57310.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 1392:31-38
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 1392:41-48
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 1392:55-62
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 1392:65-72
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 1392:106-113
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 1392:116-123
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 1411:20-37
export 'resolve' (imported as '_0x3eed26') was not found in './71017.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 1412:7-27
export 'existsSync' (imported as '_0x2c7bf8') was not found in './57147.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 1415:7-25
export 'statSync' (imported as '_0x2c7bf8') was not found in './57147.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 1418:33-54
export 'readdirSync' (imported as '_0x2c7bf8') was not found in './57147.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 1419:22-36
export 'join' (imported as '_0x3eed26') was not found in './71017.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 1420:11-29
export 'statSync' (imported as '_0x2c7bf8') was not found in './57147.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./75558.js 1422:47-65
export 'relative' (imported as '_0x3eed26') was not found in './71017.js' (module has no exports)
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./76259.js 28:72-79
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
 @ ./48208.js 40:16-37
 @ ./68650.js 8:41-62
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./76259.js 28:99-106
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
 @ ./48208.js 40:16-37
 @ ./68650.js 8:41-62
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

WARNING in ./77570.js 1:26-33
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
 @ ./44802.js 53:28-49
 @ ./27475.js 51:18-39
 @ ./46718.js 49:18-39
 @ ./10995.js 6:18-39
 @ ./index.js 14:18-39

WARNING in ./92960.js 3:26-33
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
 @ ./52651.js 10:18-39
 @ ./76722.js 5:70-91
 @ ./index.js 15:18-39

WARNING in configuration
The 'mode' option has not been set, webpack will fallback to 'production' for this value.
Set 'mode' option to 'development' or 'production' to enable defaults for each environment.
You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/configuration/mode/

23 warnings have detailed information that is not shown.
Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.

ERROR in ./6113.js 1:0-34
Module not found: Error: Can't resolve 'crypto' in '/Users/matt/webcrack-out'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "crypto": require.resolve("crypto-browserify") }'
        - install 'crypto-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "crypto": false }
 @ ./79038.js 49:28-48
 @ ./46718.js 67:18-39
 @ ./10995.js 6:18-39
 @ ./index.js 14:18-39

ERROR in ./12781.js 1:0-34
Module not found: Error: Can't resolve 'stream' in '/Users/matt/webcrack-out'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "stream": require.resolve("stream-browserify") }'
        - install 'stream-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "stream": false }
 @ ./75558.js 211:0-40 241:21-39
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

ERROR in ./13685.js 1:0-32
Module not found: Error: Can't resolve 'http' in '/Users/matt/webcrack-out'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "http": require.resolve("stream-http") }'
        - install 'stream-http'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "http": false }
 @ ./75558.js 209:0-40 224:44-53 479:22-43
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

ERROR in ./14300.js 1:0-34
Module not found: Error: Can't resolve 'buffer' in '/Users/matt/webcrack-out'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "buffer": require.resolve("buffer/") }'
        - install 'buffer'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "buffer": false }
 @ ./99176.js 1:16-44
 @ ./10992.js 3:16-37
 @ ./14936.js 32:33-54
 @ ./43153.js 11:28-49
 @ ./52944.js 8:10-40
 @ ./46718.js 58:18-39
 @ ./10995.js 6:18-39
 @ ./index.js 14:18-39

ERROR in ./22037.js 1:0-30
Module not found: Error: Can't resolve 'os' in '/Users/matt/webcrack-out'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "os": require.resolve("os-browserify/browser") }'
        - install 'os-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "os": false }
 @ ./75558.js 51:0-40 195:119-137 892:37-54 900:26-44 905:32-49 907:41-58 928:32-49 953:23-40 970:26-42 970:46-62 974:25-39 976:34-52 977:34-51 980:28-42
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

ERROR in ./22057.js 1:0-37
Module not found: Error: Can't resolve 'constants' in '/Users/matt/webcrack-out'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "constants": require.resolve("constants-browserify") }'
        - install 'constants-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "constants": false }
 @ ./86311.js 1:16-37
 @ ./41888.js 4:16-37
 @ ./52083.js 1:16-37
 @ ./66223.js 2:16-37
 @ ./14936.js 30:32-53
 @ ./43153.js 11:28-49
 @ ./52944.js 8:10-40
 @ ./46718.js 58:18-39
 @ ./10995.js 6:18-39
 @ ./index.js 14:18-39

ERROR in ./24404.js 1:0-31
Module not found: Error: Can't resolve 'tls' in '/Users/matt/webcrack-out'
 @ ./4691.js 39:28-49
 @ ./24546.js 5:3-23
 @ ./75558.js 225:37-58
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

ERROR in ./26635.js 20:7
Module parse failed: Unexpected token (20:7)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| }
| export var setImmediate = _0x26fb6a(_0x141542 ? queueMicrotask : _0x40cbb0 ? setImmediate : _0x9320c3 ? process.nextTick : _0x4a6285);
> export export function wrapSync(_0x26b32e) {
|   return _0x17b3d5(_0x26b32e) ? function (..._0x17975b) {
|     const _0x55fb33 = _0x17975b.pop();
 @ ./53178.js 3:16-37
 @ ./14936.js 1:16-37
 @ ./43153.js 11:28-49
 @ ./52944.js 8:10-40
 @ ./46718.js 58:18-39
 @ ./10995.js 6:18-39
 @ ./index.js 14:18-39

ERROR in ./32081.js 1:0-41
Module not found: Error: Can't resolve 'child_process' in '/Users/matt/webcrack-out'
 @ ./40987.js 2:16-43
 @ ./index.js 29:4-25

ERROR in ./39491.js 1:0-34
Module not found: Error: Can't resolve 'assert' in '/Users/matt/webcrack-out'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "assert": require.resolve("assert/") }'
        - install 'assert'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "assert": false }
 @ ./4691.js 41:28-49
 @ ./24546.js 5:3-23
 @ ./75558.js 225:37-58
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

ERROR in ./39512.js 1:0-34
Module not found: Error: Can't resolve 'timers' in '/Users/matt/webcrack-out'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "timers": require.resolve("timers-browserify") }'
        - install 'timers-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "timers": false }
 @ ./51888.js 3:18-39
 @ ./31130.js 3:18-39
 @ ./17790.js 10:18-39
 @ ./74484.js 1:18-39
 @ ./72130.js 2:18-39
 @ ./31682.js 1:0-38
 @ ./46981.js 61:28-49
 @ ./46718.js 48:18-39
 @ ./10995.js 6:18-39
 @ ./index.js 14:18-39

ERROR in ./41808.js 1:0-31
Module not found: Error: Can't resolve 'net' in '/Users/matt/webcrack-out'
 @ ./64462.js 66:24-52
 @ ./42460.js 1:0-38
 @ ./40987.js 3:16-37
 @ ./index.js 29:4-25

ERROR in ./56901.js 1:0-39
Module not found: Error: Can't resolve 'original-fs' in '/Users/matt/webcrack-out'
 @ ./52205.js 4:24-45
 @ ./81390.js 1:18-47
 @ ./20373.js 1:0-38
 @ ./62404.js 1:18-39
 @ ./43153.js 12:28-49
 @ ./52944.js 8:10-40
 @ ./46718.js 58:18-39
 @ ./10995.js 6:18-39
 @ ./index.js 14:18-39

ERROR in ./57147.js 1:0-30
Module not found: Error: Can't resolve 'fs' in '/Users/matt/webcrack-out'
 @ ./18279.js 81:28-49
 @ ./46718.js 43:18-39
 @ ./10995.js 6:18-39
 @ ./index.js 14:18-39

ERROR in ./57310.js 1:0-31
Module not found: Error: Can't resolve 'url' in '/Users/matt/webcrack-out'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "url": require.resolve("url/") }'
        - install 'url'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "url": false }
 @ ./75558.js 212:0-40 216:24-37 237:12-25 394:72-85 394:127-140 1142:112-127
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

ERROR in ./59796.js 1:0-32
Module not found: Error: Can't resolve 'zlib' in '/Users/matt/webcrack-out'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "zlib": require.resolve("browserify-zlib") }'
        - install 'browserify-zlib'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "zlib": false }
 @ ./75558.js 213:0-40 253:41-61
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

ERROR in ./71017.js 1:0-32
Module not found: Error: Can't resolve 'path' in '/Users/matt/webcrack-out'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }'
        - install 'path-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "path": false }
 @ ./40987.js 1:16-37
 @ ./index.js 29:4-25

ERROR in ./71576.js 1:0-42
Module not found: Error: Can't resolve 'string_decoder' in '/Users/matt/webcrack-out'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "string_decoder": require.resolve("string_decoder/") }'
        - install 'string_decoder'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "string_decoder": false }
 @ ./55523.js 7:16-51
 @ ./33247.js 2:0-36
 @ ./74092.js 2:16-37
 @ ./14936.js 31:32-53
 @ ./43153.js 11:28-49
 @ ./52944.js 8:10-40
 @ ./46718.js 58:18-39
 @ ./10995.js 6:18-39
 @ ./index.js 14:18-39

ERROR in ./72298.js 1:0-36
Module not found: Error: Can't resolve 'electron' in '/Users/matt/webcrack-out'
 @ ./index.js 9:18-39

ERROR in ./73837.js 1:0-32
Module not found: Error: Can't resolve 'util' in '/Users/matt/webcrack-out'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "util": require.resolve("util/") }'
        - install 'util'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "util": false }
 @ ./75558.js 52:0-40 85:23-44 317:19-41 840:22-41 841:22-41
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

ERROR in ./75558.js 291:18-35
Module not found: Error: Can't resolve 'domain' in '/Users/matt/webcrack-out'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "domain": require.resolve("domain-browser") }'
        - install 'domain-browser'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "domain": false }
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

ERROR in ./76224.js 1:0-31
Module not found: Error: Can't resolve 'tty' in '/Users/matt/webcrack-out'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "tty": require.resolve("tty-browserify") }'
        - install 'tty-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "tty": false }
 @ ./64462.js 1:16-37
 @ ./42460.js 1:0-38
 @ ./40987.js 3:16-37
 @ ./index.js 29:4-25

ERROR in ./82361.js 1:0-34
Module not found: Error: Can't resolve 'events' in '/Users/matt/webcrack-out'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "events": require.resolve("events/") }'
        - install 'events'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "events": false }
 @ ./41947.js 14:28-49
 @ ./10995.js 8:18-39
 @ ./index.js 14:18-39

ERROR in ./85477.js 1:0-36
Module not found: Error: Can't resolve 'punycode' in '/Users/matt/webcrack-out'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "punycode": require.resolve("punycode/") }'
        - install 'punycode'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "punycode": false }
 @ ./99141.js 1:18-39
 @ ./86237.js 2:0-34 3:0-40 4:0-35 5:0-36 6:0-36 7:0-35 8:0-38 9:0-30
 @ ./49355.js 4:0-40 653:35-48 770:35-48
 @ ./74550.js 41:6-27
 @ ./48493.js 7:0-21
 @ ./42694.js 12:28-49
 @ ./27738.js 58:28-49
 @ ./1537.js 33:28-49
 @ ./10995.js 7:18-38
 @ ./index.js 14:18-39

ERROR in ./93274.js 35:23-46
Module not found: Error: Can't resolve 'path' in '/Users/matt/webcrack-out'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }'
        - install 'path-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "path": false }
 @ ./19718.js 45:18-39
 @ ./46718.js 42:18-39
 @ ./10995.js 6:18-39
 @ ./index.js 14:18-39

ERROR in ./95687.js 1:0-33
Module not found: Error: Can't resolve 'https' in '/Users/matt/webcrack-out'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "https": require.resolve("https-browserify") }'
        - install 'https-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "https": false }
 @ ./75558.js 210:0-40 224:32-41 483:24-45
 @ ./68650.js 7:18-39 142:16-37
 @ ./72447.js 4:18-39
 @ ./index.js 13:10-31

25 errors have detailed information that is not shown.
Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.

webpack 5.82.0 compiled with 26 errors and 81 warnings in 6434 ms
j4k0xb commented 1 year ago

it requires built-in node modules so you have to setup webpack to build for node instead of the browser idk about the other errors

depending on what you want to do it might be easier to modify the deobfuscated bundle directly than unpacking+webpack