ablakely / weird.js

JavaScript obfuscation compiler in C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

weird.js

weird.js is a javascript obfuscation compiler written in C, it produces working JavaScript using characters [()]!+-/*=>.

Building

make

Usage

./weird [OPTIONS] in.js out.js

Use the `-m` flag to disable wrapping the final code in an eval statement.

How does this work?

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.

Runtimes

Node.js

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

Support for weird.js is available on IRC

About

JavaScript obfuscation compiler in C

License:GNU General Public License v2.0


Languages

Language:C 96.1%Language:JavaScript 2.5%Language:Makefile 1.4%