updated get attacker input script

my gdb scripting wasn’t well suited for the way programs written in
bison and compiled with gcc work. at least in this case - so I switched
up how this script works and hopefully this is better suited.