weird.js is a javascript obfuscation compiler written in C, it produces working JavaScript using characters [()]!+-/*=>
.
make
./weird [OPTIONS] in.js out.js
Use the `-m` flag to disable wrapping the final code in an eval statement.
weird.js uses type coercion to produce working, yet unreadable javascript.
I recommed checking out this video by Low Level Javascript if you're interested in learning more.
To use require
you must define it, like so:
const require = new Function("var require = global.require || global.process.mainModule.constructor._load; return require")();
Support for weird.js is available on IRC