Check out our shiny new HaaS platform! nc haas.polictf.it 80
We started playing with the Hanoi service:
Typing random input in prolog we landed on a Python exception talking about a /home/ctf/haas/haas-proxy.py file.
We wanted to read that file so bad that we asked to ocean (the CTF organizer) if it was Open Source :D
So, there are some checks on the input after all ahaha
We tried reading the file with prolog itself
Converted the array to string
With this method we can only read the first line.
Reading the Prolog documentation we hit the “process_create/3” function.