Writeups from challenges and CTFs i take part in.
Level 2 is a bit trickier due to Adobe Flash being gone: if you open this level in a regular browser it will most certainly look incomplete as the [.swf] file that is embedded in the page will not show properly:
<param name="movie" value="level2.swf">
does, in fact, show nothing.
Despite Flash being gone, the challenge is still solvable:
We can install ffdec and decompile the .swf file to extract the next level’s URL.
After installing the decompiler and opening level2.swf we can finally see what the login script looks like by looking at the BUTTONCONDACTION field:

This tells us that the form’s username is try2hack while the password is irtehh4x0r!
Also, most importantly the next level’s url is level3-.xhtml
We could simply append this to the website’s URL like this https://try2hack.nl/levels/level3-.xhtml but we can also render it as intended by installing the ruffle Flash emulator extension on our browser:
