victim
intruder
nops+shellcode+address
Exploit will connect to application on victim machines and send a string to it which is to overflow a buffer.
victim
intruder
nops+shellcode+address
■> /bin/sh
Shellcode executed on victim machines runs Shell and connects it to socket which is used to send a string overflowing a buffer.