Step 1 - Decode the value of the parameter session:
session
Login into the application
Get the session id:
Use DenCodearrow-up-right to detect the type of encoding
You can confirm with the following command:
Step 2 - Modify the role:
Change the role to admin:
user=htb-stdnt;role=user
Encode it:
Step 3 - Change the session id of the Request and get the flag:
Modify the session id
Resend the Request
Search for the flag on the Response:
Last updated 9 months ago
echo -n 757365723d6874622d7374646e743b726f6c653d75736572 | xxd -r -p
echo -n 'user=htb-stdnt;role=admin' | xxd -p