#!/bin/bash #sets up sploit.py to use the input/output of a target program #after running ./sploit you can launch the target program with #spltout #also works in gdb #r spltout #or run the program in the background and set the gdb wait timer in sploit.py # spltout & # gdb -p rm spltin 2> /dev/null rm spltout 2> /dev/null mkfifo spltin mkfifo spltout (./sploit.py &>spltin) | ./sploitlog.py rm spltin rm spltout