Voltar ao ranking

loseys/BlackMamba

Python

C2/post-exploitation framework

pyqt5python3spywarepost-exploitationpentestpentest-tooloffensive-securityred-teamsecurity-toolscommand-and-controlqtframeworkpython
Crescimento de estrelas
Estrelas
1.2k
Forks
177
Crescimento semanal
Issues
2
5001k
jan. de 2023mar. de 2024mai. de 2025jul. de 2026
ArtefatosPyPIpip install blackmamba
README


BlackMamba
BlackMamba

Command and Control

What's BlackMamba?

Black Mamba is a Command and Control (C2) that works with multiple connections at same time. It was developed with Python and with Qt Framework and have multiples features for a post-exploitation step.

Some Features

  • Multiple clients.
  • Real-time communication.
  • Encrypted communication
  • Screenshot gathering.
  • Real-time video capture.
  • Locking of client mouse.
  • Download and upload of files.
  • Keylogger.
  • Web downloader.

Call for Contributions⚠️

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 improve something in the BlackMamba, the best way to get it added is to submit a pull request <3

Installation

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;

 SERVER_IP=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.

Client Installation

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 have persistence. 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.

Author

Gustavo (Loseys)

Acknowledgments, Contributors & Involuntary Contributors

(In no particular order)

Repositórios relacionados
qutebrowser/qutebrowser

A keyboard-driven, vim-like browser based on Python and Qt.

PythonPyPIGNU General Public License v3.0pythonqt
qutebrowser.org
11.6k1.1k
spyder-ide/spyder

Official repository for Spyder - The Scientific Python Development Environment

PythonPyPIMIT Licensespyderpython
spyder-ide.org
9.3k1.8k
zhiyiYo/PyQt-Fluent-Widgets

A fluent design widgets library based on C++ Qt/PyQt/PySide. Make Qt Great Again.

PythonPyPIGNU General Public License v3.0pyqt5widgets
qfluentwidgets.com
8k772
persepolisdm/persepolis

Persepolis is a download manager written in Python.

PythonPyPIGNU General Public License v3.0qt5python3
persepolisdm.github.io
7.4k712
PyQt5/PyQt

PyQt Examples(PyQt各种测试和例子) PyQt4 PyQt5

PythonPyPIGNU Lesser General Public License v2.1pyqt5python
7.1k2k
blackboxo/CleanMyWechat

自动删除 Windows 和 Mac 电脑端微信缓存数据,包括从所有聊天中自动下载的大量文件、视频、图片等数据内容,解放你的空间。

PythonPyPIMIT Licensewechatpython
xiaohongshu.com/user/profile/59c0a45651783a05ce64eb00
5.5k415
pythonguis/pythonguis-examples

Build desktop apps built with Python. Examples for PyQt6, PySide6, Flet, DearPyGUI, Kivy, NiceGUI, Streamlit, Tkinter, PyQt5 & PySide2

PythonPyPIMIT Licensepythonpython3
pythonguis.com
4.6k1.1k
mherrmann/fbs

Create Python GUIs with Qt in minutes

PythonPyPIGNU General Public License v3.0pyqt5pyinstaller
build-system.fman.io
3.9k192
feeluown/FeelUOwn

trying to be a robust, user-friendly and hackable music player

PythonPyPIGNU General Public License v3.0musiclinux
feeluown.readthedocs.io
3.9k633
autokey/autokey

AutoKey, a desktop automation utility for Linux and X11.

PythonPyPIGNU General Public License v3.0python3desktop-application
autokey.github.io/index.html
3.9k261
maicss/PyQt-Chinese-tutorial

PyQt6中文教程

MIT Licensepython3pyqt5
maicss.com/pyqt/
3.6k916
jiangxufeng/v2rayL

v2ray linux GUI客户端,支持订阅、vemss、ss等协议,自动更新订阅、检查版本更新

PythonPyPIGNU General Public License v3.0pyqt5gui
3.1k588