OSCP · OSWP · PWPP · PWPA · PAPA · EnCE · Linux+ · LPIC-1 · Network+ · Security+ · Pentest+ · eJPT · eWPT · BSc · PGCert
Tanuki writeup

Step 1: Register
As you register, you should intercept traffic. You’ll notice that the role is defined as you register. The default role is set to “user”. Change it to “admin” and send your modified request.

Step 2: Retrieve flag
From here, perform a request to the /api/admin/flag endpoint to retrieve the flag:

Thanks for reading!
🍺 Quick message to readers: if my writeups help you, please consider a small donation to my buymeacoffee link here. This is not required but is very much appreciated! 🍺