Coder Social home page Coder Social logo

revshellgen's Introduction

revshellgen

Simple script to generate commands to achieve reverse shells. Thanks to DevoOverkill9 for the great idea!

Screenshot

Usage

revshellgen.py [-h] [-i IPADDR] [-p PORT] [-t SHELL_TYPE] [-l] [-a]

python revshellgen.py --help

optional arguments:
  -h, --help            show this help message and exit
  -i IPADDR, --ipaddr IPADDR
                        IP address to connect back to
  -p PORT, --port PORT  Port to connect back to
  -t SHELL_TYPE, --type SHELL_TYPE
                        Type of reverse shell to generate
  -l, --list            List available shell types
  -a, --all             Generate all the shells!

Shell Types:

  • ASP: asp
  • AWK: awk
  • Bash: bash, bash-2, bash-3
  • Java: java
  • Java Server Page: jsp
  • Linux Binary: lin-bin
  • Lua: lua
  • Netcat (regular, mknod, & mkfifo variants): nc, nc-c, nc-mkfifo, nc-mknod, nc-pipe, ncat
  • Nodejs: nodejs
  • OSX Macho Binary: osx-bin
  • Perl: perl, perl-2, perl-windows
  • PHP: php, php-2, php-3, php-4, php-5
  • Powershell TCPClient: ps-tcp,
  • Powershell IEX: ps-iex, ps-b64
  • Python: python, python-2
  • Ruby: ruby, ruby-2, ruby-windows
  • Socat (preferred for interactive sessions): socat
  • Tclsh: tclsh
  • Telnet: telnet, telnet-mkfifo
  • War: war
  • Windows Binary: win-bin
  • Xterm: xterm

Recommended Setup Steps

For ease of use, it's recommended to add revshellgen to your path variable and give it executable permissions.

chmod +x /dir/to/revshellgen.py
export PATH=$PATH:/dir/to/revshellgen

Alternatively, you can integrate it with other Kali tools by performing the following:

chmod +x /dir/to/revshellgen.py
ln -s /dir/to/revshellgen.py /usr/bin/revshellgen

Keep in mind, this isn't ideal for systems with multiple users, and you should use root-privilege symbolic links with discretion. It's imperative that revshellgen.py is restricted from write access by untrusted users with this.

Another Example:

Screenshot

revshellgen's People

Contributors

cwinfosec avatar fabaff avatar kolokokop avatar theguly avatar tib3rius 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.