红蓝攻防
点击放大


<h1 align="center">
<br>
<a href=" src=" width=160 height=150 alt="BlackMamba"></a>
<br>
BlackMamba
<br>
</h1>
<h4 align="center">Command and Control</h4>
<p align="center">
<a href="
<img src="
</a>
<a href="
<img src="
</a>
<a href="
<img src="
</a>
</p>
Black Mamba is a Command and Control (C2) that works with multiple connections at same time. It was de with Python and with Qt Framework and ha features for a post-exploitation step.
Hey, before you go to gallery you need to know that the BlackMamba is a open project, so, if you finds this tool useful and wants to add some functionality, improve the code performance or impro in the BlackMamba, the best way to get it added is to submit a pull request <3
<img src=" width=100% />
<img src=" width=100% />
<img src=" width=100% />
<img src=" width=100% />
<img src=" width=100% />
<img src=" width=100% />
1º - Download the BlackMamba;
2º - Install the PIP packages;
pip install -r requirements.txt
3º - Open the port 65000 and 65005 in your Gateway or Router (the port number is optional);
4º - Create an exception in the firewall for BlackMamba or disable it;
5ª - Go to "BlackMamba/bin/profile/socket.txt" and input the port number opened;
SER=0.0.0.0
PORT=65000
PORT_VIDEO=65005
>IMPORTANT: Do not change the 0.0.0.0.
6º (OPTIONAL) - Go to the BlackMamba folder and open the "keygen.py" file. Copy the resulting
key and paste in the "BlackMamba/bin/profile/crypt_key.py" ;
The BlackMamba uses a default cryptography key. It is interesting that you change it.
7º - Back to BlackMamba root folder and open the "main.py" file;
WINDOWS
python main.py
KALI LINUX
(sudo chmod 777 main.py)
(sudo python3 main.py)
ANOTHER LINUX
sudo chmod 777 main.py
sudo python3.8 main.py
8º - Click on the button that has a person icon and plus signal;
9º - Input the path where the Python file will be created, input both port numbers and
the IP address (external or local) of your host, then click on the "Create" button.
After creating the Client script, you'll need to open the script in the host target:
>WINDOWS
python script.py
>GNU/LINUX
1º Download the packages:
scrot -y
python3-pip -y
python3-tk -y
python3-dev -y
2º sudo python3.8 script.py
KALI LINUX
(sudo python3 script.py)
*IMPORTANT: The script of the client does not ha. If you want to do persistence, you'll need
to make it by yourself. Another important point is that the client script maybe delay some seconds or few
minutes for connect/reconnect.*
Gustavo (Loseys)
(In no particular order)
开发语言:Python
Star 数:1162
该项目属于红蓝攻防方向的开源资源,代码结构清晰,适合安全研究人员学习参考。项目围绕C2/post-exploitation framework展开,提供了可运行的实现,对理解相关安全机制、工具原理与攻防技术具有较高的研究价值。
从技术实现角度看,此类项目的核心在于对底层原理的深入理解与工程化落地。开发者在研究过程中可以结合官方文档与社区讨论,梳理项目的初始化流程、核心模块职责与数据流转,逐步掌握其中的技术细节与设计思路。
1. 下载源码压缩包,解压到本地环境。
2. 根据项目类型准备对应的运行环境与依赖。
3. 按照 README 中的步骤完成配置与部署。
4. 在隔离的测试环境中运行验证,避免影响生产系统。
本资源来源于开源社区,仅供安全研究、技术学习与合法授权范围内的攻防演练使用,请勿用于任何非法或侵害他人权益的用途。使用本项目产生的一切后果由使用者自行承担。
| 资源标题 | BlackMamba - C2/post-exploitation framework |
| 所属分类 | 红蓝攻防 |
| 发布作者 | admin |
| 发布时间 | 2026-10-06 00:36:04 |
| 下载权限 | 免费下载 |
| 附件数量 | 2 个下载链接 |
| 浏览次数 | 481 |
| 讨论数量 | 0 |
| 主题状态 | 正常讨论中 |