Obfuscated javascript challenge
While solving the small “hacker” challenge hackordie I thought it would be fun to try to write my own two expert javascript challenges.
The result was four for rather strange javascript blocks, where two where actually challenges and two where just me playing around.
Challenges
If you solve one of these please do not post the password in the comments, that would not be fun!
Likewise if you manage to solve them please send me an email on Enable javascript to view email so I can add you to the list of people who have solved it!
Challenge 1
This was my first attempt, it is however almost impossible to solve even if you manage to understand the javascript
Challenge 2
This was created when I realized that Challenge 1 was virtually impossible to solve
Hall of fame
- Gevorg Sargsyan - Solved both challenge 1 & 2, thereby proving challenge 1 is not impossible and challenge 2 is quite possible.
- Arrix - Solved both challenge 1 & 2, very impressive.
- Philipp ‘White’ Feigl - Solved challenge 2 as the first; Respect! Philipp has not solved Challenge 1.
- Aaka Fosfor - Solved challenge 2 as the first; and event send me a recoded version of the script which is quite a lot easier to understand. Aaka has not yet solved Challenge 1.
- Scot ‘Zero Tolerance’ Kershaw - Solved both challenges. And was the only one so fare to find the “correct” answer for Challenge 1.
- Matti “Lumpio-” Virkkunen - Solved both challenges. And have been nagging me on IRC to add him for the past 3 months..
Strange stuff
Strange 1
Just a small experiment in obfuscating mathematics using loops and bit operators.
Strange 2
Know someone who hates JavaScript for its lag of classes? Send them this and look at there face while try to figure it out.
on February 9th, 2007 at 8:17 pm
No time to solve 1 or 2, but the spelling of “Stange” is well, “Strange”.
Cheers,
Steve
on February 9th, 2007 at 8:57 pm
Guess I was to fast there, fixed. And thanks for pointing it out. I would never have seen it :)
on February 10th, 2007 at 2:35 pm
Okies, Gevorg Sargsyan solved also 2nd one, and that was uncomparable easier then 1st one.
Will be interesting to see if any one solves 1st.
Regards
Gevorg
on February 10th, 2007 at 6:09 pm
The strange stuff is strange indeed, especially the class one. But it’s a bit misleading as are the challenges. Very interesting.
on February 11th, 2007 at 12:00 am
Gevorg, drop me the password on messenger and I shall upgrade you hall of fame status.
Arrix, Indeed they are. I had a quick look at your homepage, my guess is that you have some great ideas for challenges yourself. If so please drop me an email at the address written above.
Chris
on February 12th, 2007 at 5:27 pm
Arrix and Gevorg, did you just plain bruteforce the first one or did you actually try to reverse engeneer it?
on February 12th, 2007 at 9:35 pm
Actually the way I did it can be called “bruteforcing” - yes.
- Gevorg
on February 13th, 2007 at 5:02 pm
Not sure whether it’s “plain” brute force. However, I didn’t find a reverse function.
on April 14th, 2007 at 7:45 pm
solved the first one with a “reverse” function. At least I think it could be called a reverse function because it uses the digest and calculates a password (most likely not THE password) from it.
on April 28th, 2007 at 1:24 am
really good stuff;)
imho for 1st challenge can’t be found universal “reverse” function. it can be only some form of brutal-force, although optimalized for nearly linear complexity…