Olympus write-up by fasetto

Nice write up. I really enjoyed Olympus. I wish there were more boxes like it.

Thanks. But guessing part took a long time for me. I hate for it. :slight_smile:

thanks a lot for your kind help sir…
Once again i need any hints on priv esc on DevOps

Hello,
Thanks for your write-up:

I have troubles running your code: “olympus-pwn.py”

It hangs and I had to Control + C to cancel it. Below shows the output.

It seems to have problems at line 206 of
/usr/lib/python2.7/socket.py

python pwn.py -u http://10.10.10.83 --lport 1337 --lhost 10.10.my.ip

— > Output
/ This is the output I get when I pressed Control + C
[*] Payload sent.
^CTraceback (most recent call last):
File “olympus-pwn.py”, line 41, in
conn, addr = sock.accept()
File “/usr/lib/python2.7/socket.py”, line 206, in accept
sock, addr = self._sock.accept()
KeyboardInterrupt

…FWIW , I also had the same problem running this python code from

, which some other writeups also used to try to get limited shell.

Please advise.

Thanks a million.

@witness2pro

sock.accept() function is hanging because it is waiting for a connection. You can set a timeout about 30 seconds I think.
Nothing is wrong with these scripts. If you are not get a connection back, you can try a few more times. If the issue is permanent, I think you need to reset the box.