I'm running jsunpack.py, after installing all dependencies and setting the correct path, I decided to test it. I run it as
python jsunpack.py test.htm and it works fine, now when I try to
sudo it I get:
error: Error: Fatal error in decodeJS: [Errno 2] No such file or directory (probably you are missing "js" in your path)
Which leads me to think I don't have the path set up in root. So I
sudo su root and I echo the path only to see that it is indeed there. I'm thoroughly confused, does it have something to do with permissions?