Encodes or Decodes Javascript using JSFuck 0.4.0
see https://github.com/aemkei/jsfuck
*note this differs slightly from the JSFuck served at http://www.jsfuck.com/
usage:
'python jsunfuckit.py <option> <flags> <file>'
options:
decode -- decodes jsfuck'd Javascript
encode -- encodes vanilla Javascript
flags:
-e | --eval: wrap in eval
-p | --parent: run in parent scope
$ python jsunfuckit.py decode tests/encoded.js
alert('hello, world!');