How To Get Hackthebox Invite Code (step by step) With Image Guide

What Is Hack The Box

Hack the box is an online platform to test and advance your skills in penetration testing and cybersecurity, There are many great reasons to join Hack The Box platform some are community a conversation with any number of users on our private messaging system, you can also find a team when you join or create your own after achieving the Hacker rank or compete against other teams on the team leaderboard. Once you join, you can apply for security-related job openings. Most positions are rank-restricted however, so you must prove your ability on our active machines before being able to apply. Visite www.hackthebox.eu/invite and let start hacking.

Now let's Get Started 
Now how to hack the site and get your invite code you may ask your self how but it's pretty easy to do it just right click on the page and navigate to inspect element to open the developer's tools.

 This is where code used to develop the site show, go through the element code and you will find a script source as  "/js/inviteapi.min.js" as is shown in the screenshot below.

Copy the "/js/inviteapi.min.js/" code and delete the invite at the back of the URL and past it there. Example!
How Ho Get Hackthebox Invite Code (step by step) With Image Guide
and hit enter you will see a JS file open as shown in the screenshot below. You can also learn how to connect to hackthebox vpn ..read more

How Ho Get Hackthebox Invite Code (step by step) With Image Guide
Now the interest code is show "makeIniviteCode" is what we're looking for a copy or write it somewhere now click the back button and go the invite page which is www.hackthebox.eu/invite, now we're about to find content in

Go to the console tab on the inspect element window and type in the interest code we found "makeInviteCode()" Don't forget to add the bracket symbol (). Hit enter click on the small arrow and you will see the encoding 200 sources status shown in the screenshot below.

How Ho Get Hackthebox Invite Code (step by step) With Image Guide
Now we have to decode copy the coded message content and open a new window tab and search for the base64decode.

Past the coded message copied into the box and click on DECODE, you get a message as " in order to generate the invite code, make a POST request to /api/invite/generate as shown in the screenshot below.

How Ho Get Hackthebox Invite Code (step by step) With Image Guide
So from the message, we need to make a POST request to the site so that we can generate and get the invite code.

Now open your terminal and a POST request to generate by typing "curl -XOPST https://www.hackthebox.eu/api/invite/generate" in your terminal and hit enter as shown in the screenshot below.

How Ho Get Hackthebox Invite Code (step by step) With Image Guide
After you hit enter you get a successful code but that is not the invite code we're looking for so we need to decode it again to get really successful invite code to register and have access to the site

now let's go back to base64decocde site again to past the request we get from XPOST and click on DECODE to get the invite code as shown in the screenshot below.

How Ho Get Hackthebox Invite Code (step by step) With Image Guide
Finally, you have got the code now go back to www.hackthebox.eu/invite and past the code you got into the box were asking for the invite code and hit enter to get access as shown below in the screenshot

How Ho Get Hackthebox Invite Code (step by step) With Image Guide
Congratulations you have hacked the invite code but not done yet you have to register with the invite code as the user of the code through this process many of wait to get automatically log in but is not done in that way.

How Ho Get Hackthebox Invite Code (step by step) With Image Guide
 You have to register as a new user the with code, so how to do it scroll down and you will see a register process type in your information with a valid email make everything check including robot and click on the register 

As sown in the screenshot below.

How Ho Get Hackthebox Invite Code (step by step) With Image Guide
Verify your email page will come login to your email account and verify your email now you are able to go login to hack the box and you will have full access.

How Ho Get Hackthebox Invite Code (step by step) With Image Guide
Congratulation you have successfully hack into hack the box. comment on this post if you are having a problem of doing it, we will be happy to help you solve your problem or comment on how it helps you for us to know how our blog is helping beginners. Thank you for your support



1 Comments

If you have any doubts, Please let me know