Skip to content

Instantly share code, notes, and snippets.

@daniellimws
Created February 5, 2018 09:33
Show Gist options
  • Save daniellimws/debb28a09edea25b116e2150147a6bb6 to your computer and use it in GitHub Desktop.
Save daniellimws/debb28a09edea25b116e2150147a6bb6 to your computer and use it in GitHub Desktop.
Script to start up pwn environment in tmux
#!/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