1 minute read

I signed up for Hack the Box last night. In order to get an invite code from them youfirst have to hack the site Index page. to do this you have to do several things to get an invite code from the site API.

You can follow the video for how to do it here

  1. Open Developers console

  2. Find and run the suspicious java script by making a cop of it and using the script name() in console to run it. you will get some encoded string that needs decoding

  3. Go to this Decode site

  4. Finally the decoded message ask you to submity a POST request to the site API. use online Post site to do this!

Once I was signed up I had to download some VM and VPN software to access the lab network

How To Post in this BLOG

You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve, which launches a web server and auto-regenerates your site when a file is updated.

To add new posts, simply add a file in the _posts directory that follows the convention YYYY-MM-DD-name-of-post.ext and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.