Local shellcode for stdin re-open and /bin/sh exec. It closes stdin descriptor and re-opens /dev/tty, then does an execve() of /bin/sh. Useful to exploit some gets() buffer overflows in an elegant way.
f69b196ba7893ffaea7995691c4e34e2c6183df011e3c0410959fe5b4157aacf