j4k0xb / webcrack

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

true it could result in more performance (except python lol) but afaik these languages don't have similar libs as I'm currently using (babel, isolated-vm, codemod matcher), and implementing them from scratch would be too much effort to be worth it #23

Closed moongazer07 closed 8 months ago

moongazer07 commented 8 months ago
          true it could result in more performance (except python lol) but afaik these languages don't have similar libs as I'm currently using (babel, isolated-vm, codemod matcher), and implementing them from scratch would be too much effort to be worth it

swc is probably the closest thing to babel but still too limited:

Originally posted by @j4k0xb in https://github.com/j4k0xb/webcrack/issues/22#issuecomment-1803577842 you could also transpile the libs if possible

j4k0xb commented 8 months ago

There are some js to c/wasm transpilers but:

So a transpiler that supported every js feature would still be slower overall.

https://www.assemblyscript.org is very similar to js/ts but would also require rewriting or substantially modifying all libs, in which case using another language is most likely a better choice

0xdevalias commented 8 months ago

For ease of others following along, this thread started in this issue:

And continues in this issue: