Broadcast your shell thru port 5000

Broadcast your shell thru port 5000

1
mkfifo /tmp/fifo;(nc -q0 -l 5000 < /tmp/fifo &);script -f /tmp/fifo

run

1
nc yourip 5000

elsewhere will produce an exact same mirror of your shell. This is handy when you want to show someone else some amazing stuff in your shell without giving them control over it.

* View this command to comment, vote or add to favourites * View all commands by clvv

commandlinefu.com

by David Winterbottom (codeinthehole.com)

URL: http://feedproxy.google.com/~r/Command-line-fu/~3/zSXMo0BnN8I/broadcast-your-shell-thru-port-5000

Enhanced by Zemanta