Rating:

https://github.com/Blystad/googlectf_writeups/tree/master/networking/opabina_regalis_redirect

When we get the 401 Unauthorized reply from the server, instead of forwarding that, we modify it to a 302 REDIRECT, add aLocation header pointing to /protected/secret, send a few messages back and forth until finally we get the token.


Original writeup (https://github.com/Blystad/googlectf_writeups/tree/master/networking/opabina_regalis_redirect).