mindedsecurity / JStillery

Advanced JavaScript Deobfuscation via Partial Evaluation
GNU General Public License v3.0
862 stars 143 forks source link

Lots of errors on my sample file #11

Open digininja opened 6 years ago

digininja commented 6 years ago

I'm creating a JavaScript module for DVWA and this is the high security level JS code:

https://github.com/digininja/DVWA/blob/javascript/vulnerabilities/javascript/source/high.js

I've just ran it through JStillery and got a few errors including this repeated for 7, 8 and 9:

EXC [TypeError: Cannot read property '9' of undefined] TypeError: Cannot read property '9' of undefined

And this:

[RangeError: Maximum call stack size exceeded]

I'm running nodejs in Ubuntu 16.04 which seems to be quite an old version (v4.2.6) so it may be that that is causing the problems. I know it doesn't have the ** operator so had to fudge that a bit to get the script to run.

wisec commented 6 years ago

Fixed the first EXC. working on the Call Exhaustion :)