It's fun to feel like a nefarious hacker. I'm at level2, see you at level 6 guys!
[1] Buffer over flow, calling exec/system without proper escaping, creating predictable temp files, etc, etc.
(gdb) x/4x fns
0xffeaa0cc: 0x080485e4 0x08048640 0x0804869c 0x08048719 (gdb) x run
0x804875b <run>: 0x83e58955 (gdb) gdb) x/40x (void*)fns-0x40
etc.Several posters have hinted at buffer overflow, but I'm not yet seeing a buffer that I can overflow.
[edit: Nevermind, I got it. Whew.]