#!/bin/sh cat exploit - # cat - exploit - is the "best" way of doing this: # # It lets you explore the target using format strings, so that you can # craft your exploit into "exploit", execute it by sending EOF (ctrl+D), # and then once again you have direct input options. # # Can also solve this with a looping construct, for when you need more # than one try, e.g. #while [ 1 ] #do # cat - # cat exploit #done