Admin Bypass Lab 2 - Cookie Role Manipulation


User Portal

Your current role: guest

You don't have admin privileges.

Check your cookies — is your role stored client-side?

Hint (click to reveal)

Open DevTools → Application → Cookies. Look for a role cookie.
Change its value to admin and reload the page.
Or use curl: curl -b "role=admin" http://localhost/AdminBypass/lab2.php


Back to Admin Bypass Labs