Created
February 5, 2018 09:33
-
-
Save daniellimws/debb28a09edea25b116e2150147a6bb6 to your computer and use it in GitHub Desktop.
Script to start up pwn environment in tmux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ ! -f $1 ]; then | |
echo "$1 not found!" | |
exit | |
fi | |
tmux new-session -d 'vim exploit.py' | |
tmux split-window -h | |
tmux split-window -v 'vim notes' | |
tmux new-window gdb $1 | |
tmux new-window r2 -A $1 | |
tmux new-window ropper -f $1 --console | |
tmux -2 attach-session -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment