All Projects → mzfr → Rsh

mzfr / Rsh

Licence: gpl-3.0
generate reverse shell from CLI for linux and Windows.

Programming Languages

python
139335 projects - #7 most used programming language
powershell
5483 projects
perl
6916 projects
bash
514 projects
awk
318 projects

Projects that are alternatives of or similar to Rsh

Thoron
Thoron Framework is a Linux post-exploitation framework that exploits Linux TCP vulnerability to provide a shell-like connection. Thoron Framework has the ability to create simple payloads to provide Linux TCP attack.
Stars: ✭ 87 (-62.66%)
Mutual labels:  reverse-shell
Jexboss
JexBoss: Jboss (and Java Deserialization Vulnerabilities) verify and EXploitation Tool
Stars: ✭ 2,008 (+761.8%)
Mutual labels:  reverse-shell
Androrat
A Simple android remote administration tool using sockets. It uses java on the client side and python on the server side
Stars: ✭ 187 (-19.74%)
Mutual labels:  reverse-shell
Eggshell
iOS/macOS/Linux Remote Administration Tool
Stars: ✭ 1,286 (+451.93%)
Mutual labels:  reverse-shell
Evilosx
An evil RAT (Remote Administration Tool) for macOS / OS X.
Stars: ✭ 1,826 (+683.69%)
Mutual labels:  reverse-shell
Lolbits
C2 framework that uses Background Intelligent Transfer Service (BITS) as communication protocol and Direct Syscalls + Dinvoke for EDR user-mode hooking evasion.
Stars: ✭ 170 (-27.04%)
Mutual labels:  reverse-shell
Fwdsh3ll
Forward shell generation framework
Stars: ✭ 62 (-73.39%)
Mutual labels:  reverse-shell
Lonely Shell
poc https reverse shell
Stars: ✭ 193 (-17.17%)
Mutual labels:  reverse-shell
Print My Shell
Python script wrote to automate the process of generating various reverse shells.
Stars: ✭ 140 (-39.91%)
Mutual labels:  reverse-shell
Hack Tools
The all-in-one Red Team extension for Web Pentester 🛠
Stars: ✭ 2,750 (+1080.26%)
Mutual labels:  reverse-shell
Gorsh
A Golang Reverse Shell w/ a Tmux-driven psuedo-C2 Interface
Stars: ✭ 97 (-58.37%)
Mutual labels:  reverse-shell
Gosh
Golang reverse/bind shell generator
Stars: ✭ 124 (-46.78%)
Mutual labels:  reverse-shell
Reverse Shell Manager
🔨 A multiple reverse shell session/client manager via terminal
Stars: ✭ 171 (-26.61%)
Mutual labels:  reverse-shell
Reverse Shell
Reverse Shell as a Service
Stars: ✭ 1,281 (+449.79%)
Mutual labels:  reverse-shell
Revshellgen
Reverse shell generator written in Python 3.
Stars: ✭ 190 (-18.45%)
Mutual labels:  reverse-shell
Girsh
Automatically spawn a reverse shell fully interactive for Linux or Windows victim
Stars: ✭ 66 (-71.67%)
Mutual labels:  reverse-shell
Stitch
Python Remote Administration Tool (RAT)
Stars: ✭ 2,018 (+766.09%)
Mutual labels:  reverse-shell
Betterbackdoor
A backdoor with a multitude of features.
Stars: ✭ 195 (-16.31%)
Mutual labels:  reverse-shell
Hrshell
HRShell is an HTTPS/HTTP reverse shell built with flask. It is an advanced C2 server with many features & capabilities.
Stars: ✭ 193 (-17.17%)
Mutual labels:  reverse-shell
Http Asynchronous Reverse Shell
[POC] Asynchronous reverse shell using the HTTP protocol.
Stars: ✭ 177 (-24.03%)
Mutual labels:  reverse-shell

rsh

Python Versions PEP8 Contributors Issues License: GPL v3 Maintenance

rsh in action

IntroductionUsageInstallationGallery

rsh is a tool purely written in Python 3 to easily a generate reverse shell command for Linux as well as Windows.

Features

This tools makes it easy for you to quickly generate reverse shell commands supported in both Linux and Windows, in the following languages:

  • bash
    • Bash reverse shell
    • netcat
    • netcat OpenBSD
    • nc.traditional
  • Python
    • IPv4
    • IPv6
  • Ruby
  • Perl
  • PHP
  • Powershell
  • Node.JS
  • TCLSH
  • Awk
  • Java

Usage

usage: rsh [-h] [-sh SH] [-listen] lhost lport

positional arguments:
  lhost       Specify local host ip
  lport       Specify a local port

optional arguments:
  -h, --help  show this help message and exit
  -sh SH      Specify the language to generate the reverse shell
  -listen     Spawn a netcat listener for this shell.

Using rsh is very simple. All you need to do is provide an IP and port and the type of shell that is to be generated:

  • ./rsh 192.168.56.1 4444 -sh bash
  • ./rsh 192.168.56.1 4444 -sh php
  • ./rsh 192.168.56.1 4444 -sh powershell

You can also automatically catch the reverse shell by starting a listener when you are done. This uses netcat and listens on the port you specified for your reverse shell

  • ./rsh 192.168.56.1 4444 -sh powershell -listen

Installation

You need to have Python 3.5 or greater installed to run rsh. Both Linux and Windows are supported. Along with that rsh uses pyfiglet which you can install by running:

pip install -r requirements.txt

Gallery

  • Getting bash command

  • Options

  • Wrong IP 😄

  • Wrong PORT 😄

Contribution

  • Report a bug
  • Fix something and open a pull request
  • Add more reverse shells

In any case feel free to open an issue

Credits

All the shell command are taken from pentestmonkey

License

This project is licensed under the GPLv3 License - see the LICENSE file for details

Support

If you'd like you can buy me some coffee:

Buy Me A Coffee

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].