DefendTheWeb.net, previously called HackThis.co.uk, is a very famous and well-known interactive security platform where you can learn and challenge your skills.. It contains challenges from several different cybersecurity fields.
I’ve decided to have a bit of fun and try to solve every single challenge presented, from the easiest to the hardest. (although easy and hard will be different depending on your skillset and field of expertise).
As I do with any challenge website, I WILL NEVER post the flag in cleartext, as it kills the fun and thrill of finding it, however I will post my way (or ways) of getting there. This is done in respect of the website’s security and non-disclosure policy, even when it doesn’t have one ;).
Challenge Intro 10
This challenge is rated as Intro, so it might be easy to solve. The author presents us only with a password form with a Login button.
After a while using our friend Google Chrome Dev Tools (F12) to check the code, we find this right at the end in a script tag:
<script type='text/javascript'>document['thecode'] = '\x34\x31\x65\x61\x34\x32\x35\x35\x64\x66'</script>
This is an Hexadecimal number. Just use any Hex to Text converter online and there we have our password.
See you on the next challenge!