Hello there, fellow hackers!

Once again, we'll require your expertise for a security assessment.

Our IT team wrote their own chat server as a side project and they proudly deployed it today! It is simple but as far as we could tell, it works great and seems pretty robust.

The only thing we did not really test is the potential of buffer overflows and other memory shenanigans, we don't really have the time and resources for it and we would like you to test it for us!

We're 100% sure that the code our team wrote is mostly safe, but having someone else to make sure that everything is in order couldn't hurt, I guess...

The goal of this lab is to successfully execute a buffer overflow vulnerability leading to code execution on a remote TCP server! The server is accessible in the terminal on https://term.hack.courses, to access it using netcat, type :

nc 192.168.29.2 12345

A guided solution is available for this exercise in the "Write-Up" section.