Spooky Proxy

Description

I just learned how to build a proxy. Hope nothing is wrong with my application!

SpookyProxy.ziparrow-up-right

Solution

Very basic logic/register form

Spooky_Proxy.png

Register and login. The page is again very plain without anything much. We were given session cookie tho.

Spooky_Proxy-1.png

Session looks like a Flask Cookie, decode:

app.py:

Application seems safe and sound, we get the Flag if we are user called admin (user already exists so we can't create it).

Nginx is used to serve the application: proxy.conf

location block is very sussy, evaluate with: https://www.getpagespeed.com/check-nginx-configarrow-up-right

Spooky_Proxy-2.png

https://github.com/dvershinin/gixy/blob/master/docs/en/plugins/aliastraversal.mdarrow-up-right

LFI works, we know the directory names from Dockerfile

circle-check

Last updated