hard.. someone want to help me?
11 years ago
0
You need to read source code.
As always..
It’s not that hard. Just check the source code and think about each line before you go to the next. Then you can sort out what you don’t need, everything unimportant. Whats left will lead you to the solution.
just alert length of the password and guess what the correct pass. it seems like if you know the length you will know the pass :)
Edit: Spoiler tags. Use them
when the time has come , I shall rise and conquer the world
when the time has come , I shall rise and conquer the world
when the time has come , I shall rise and conquer the world
it is very easy !!!
http://www.hackthis.co.uk/levels/j2.php?pass=.....................
Edit: Added spoiler tags
Once you find the right JS (It is in the same place as Level1), you may not be bothered to do the math to work out the end value of ‘length’. I personally was not familiar with half of the Math. blahblahblah’s.
So, I recommend writing up the code for ‘length’ , in your own program, and then logging or printing to a web page the value ‘length’. And the number displayed will be the number needed. Now, the function ‘checkPass’ is also very important, It basicly says that the number of characters that you type in needs to be equal to the value length, for the password to be correct. So type in any characters, just the same number as the finished value of ‘length.
Capeesh?
A real easy way of calculating the value ‘length’ is by using the console provided by codecademy labs.
Enjoy!