Nichts besonderes. Sollte alles funktionieren wie im Buch.
root@toshiba:/home/tomovic/hack# gcc -g -fno-stack-protector -z execstack -o simple_server simple_server.c
root@toshiba:/home/tomovic/hack# ./simple_server
server: got connection from 127.0.0.1 port 36690
RECV: 16 bytes
74 68 69 73 20 69 73 20 61 20 74 65 73 74 0d 0a | this is a test..
RECV: 28 bytes
71 77 65 72 74 7a 75 69 6f 70 61 73 64 66 67 68 | qwertzuiopasdfgh
6a 6b 6c 79 78 63 76 62 6e 6d 0d 0a | jklyxcvbnm..
RECV: 5 bytes
ff f4 ff fd 06 | .....
RECV: 2 bytes
0d 0a | ..
RECV: 5 bytes
ff f4 ff fd 06 | .....
RECV: 2 bytes
0d 0a | ..
RECV: 6 bytes
71 75 69 74 0d 0a | quit..
RECV: 5 bytes
62 79 65 0d 0a | bye..
RECV: 6 bytes
65 78 69 74 0d 0a | exit..
RECV: 5 bytes
ff f4 ff fd 06 | .....
RECV: 5 bytes
ff f4 ff fd 06 | .....
RECV: 2 bytes
0d 0a | ..
RECV: 2 bytes
0d 0a | ..
RECV: 2 bytes
0d 0a | ..
RECV: 7 bytes
63 6c 6f 73 65 0d 0a | close..