8000 GitHub - seccybpre/rsh: generate reverse shell from CLI for linux and Windows.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

seccybpre/rsh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License: GPL v3 Maintenance

rsh

rsh in action

IntroductionUsageInstallationGallery

rsh is a tool purely written in python to easily generate reverse shell command for linux as well as windows.

Features

This tools makes it easy for you to generate reverse shell command supported in both linux and windows, in the following languages:

  • bash
    • netcat
    • netcat OpenBSD
    • nc.traditional
  • Python
    • IPv4
    • IPv6
  • Ruby
  • Perl
  • PHP
  • PowerShell
  • Node.JS
  • TCLSH
  • AWK
  • JAVA

Usage

usage: revsh.py [-h] [-sh SH] 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

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

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

Installation

You need python 3.5 or greater. Along with that rsh uses [pyfiglet] which you can install by running:

pip install pyfiglet

Nothing else is required to run rsh.

Gallery

  • Getting bash command

  • Options

  • Wrong IP 😄

  • Wrong PORT 😄

Contribution

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

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

About

generate reverse shell from CLI for linux and Windows.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%
0