A demo to perform a buffer overflow attack.
- Windows NT
- GCC
- An Virtual Machine
Directly build with make
$ make
Run the Server
$ ./bin/server
Run the Client
$ ./bin/client
Notice
The server will setup an UDP echo server on 0.0.0.0:3000
, and the client will connect to the server. The port can be edited in server.cpp
.
Write the code in client.cpp
to perform a buffer overflow attack on the server.
Please be careful to do these on your physical machine.
Good luck :)