Check the admin scratchpad!

Website initial view

We can’t log in as admin, so let’s log in as Jose.

Website initial view

Now, let’s use Burp Suite for this.

Website initial view

At the end of the website, it shows something like this : “You can use your name as a log in, because that’s quick and easy to remember! If you don’t like your name, use a short and cool one like John!”

As we know, John the Ripper is used to brute force, so that gives the idea that this should be a brute force challenge. In my case, I decided to use Hashcat.

Terminal

hashcat -a 0 -m 16500 jwt wordlist

Website initial view

secret: ilovepico

I can use this secret password to create a new assigning key

Website initial view

After creating our new key, we changed the user from ‘jose’ to ‘admin’ and assigned the key we created.

Website initial view

After that, we send the request.

Website initial view

Hello admin!