j4k0xb / webcrack

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

How to build webcrack for web browser using tools like esbuild #56

Closed Sofie99 closed 4 months ago

Sofie99 commented 5 months ago

is there any guide for that? thx

j4k0xb commented 5 months ago

No guide but you can look in the previous repo how it was done: https://github.com/j4k0xb/webcrack-ui/blob/master/esbuild.config.js Or the current one with vite

Most important things are the globals and node polyfills and when using deobfuscation it needs a custom sandbox implementation like quickjs-emscripten or sandybox And running it in a web worker is a bit of a mess but avoids freezing the UI