Code Monkey home page Code Monkey logo

d1se0 / revshell Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 19 KB

revShell is a powerful and versatile tool for generating various types of reverse shells in multiple programming languages. This tool facilitates the quick and efficient generation of reverse shell commands, providing different methods and options for various situations and environments.

Shell 6.53% Python 93.47%
cibersecurity command-line commands ethical-hacking hacking hackingetico kali-linux linux pentesters pentesting redteam reverse-shell tools

revshell's Introduction

revShell

revShell

Description

revShell is a powerful and versatile tool for generating various types of reverse shells in multiple programming languages. This tool facilitates the quick and efficient generation of reverse shell commands, providing different methods and options for various situations and environments.

Features

revShell supports the generation of reverse shells in the following languages ​​and environments:

  • PHP: Use different methods such as exec, shell_exec, system, passthru, popen, proc_open.
  • PowerShell: Provides multiple variants, including TLS encrypted connections.
  • Python: Compatible with versions 2.x and 3.x, using sockets and pty.
  • Ruby: Shells with and without use of sh.
  • socat: With TTY support.
  • SQLite3 and netcat: Combined use to create reverse shells.
  • node.js: Using the child_process module.
  • Groovy: Uses sockets and ProcessBuilder.
  • telnet: Reverse shell using telnet.
  • zsh: Using zmodload and ztcp.
  • Lua: With socket and os modules.
  • Golang: Reverse shell using net and os/exec.
  • Vlang: Using os.system.
  • Awk: Using inet sockets.
  • Dart: Using dart:io and dart:convert.
  • Crystal: Using process and socket.

Installation

To install and configure revShell, follow the steps below:

Clone the Repository

git clone https://github.com/D1se0/revShell.git
cd revShell

Run the Requirements Script

The requirements.sh script will install all the necessary dependencies and configure the tool so that it can be used from anywhere in the terminal.

sudo ./requirements.sh

Verify Installation

After running the requirements script, verify that the tool is installed correctly:

revShell -h

or from the .py script

python3 revShell.py -h

Use

revShell is extremely easy to use. Below are some examples of how to generate different types of reverse shells.

python3 revShell.py -i <HOST_IP> -p <PORT> -t <FORMAT>

Examples

Generate a Reverse Shell in bash:

python3 revShell.py -i 10.10.11.11 -p 7777 -t 'bash -i'

Generate a Reverse Shell in PHP:

python3 revShell.py -i 10.10.11.11 -p 7777 -t 'PHP proc_open'

Generate a Reverse Shell in PowerShell:

python3 revShell.py -i 10.10.11.11 -p 7777 -t 'PowerShell #1'

Generate a Reverse Shell in Python:

python3 revShell.py -i 10.10.11.11 -p 7777 -t 'Python #1'

Generate a Reverse Shell in Ruby:

python3 revShell.py -i 10.10.11.11 -p 7777 -t 'Ruby #1'

Other options:

revShell supports many more options and languages. To see all available options:

python3 revShell.py -fh

Contributions

Contributions are welcome. Please submit a pull request or open an issue to discuss the changes you would like to make.

License

This project is licensed under the terms of the MIT License.

revshell's People

Contributors

d1se0 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.