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.
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:
And this:
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.