Data Exfiltration Protocol (DEP) Client - Transfer data with DEP
Project description
Description
Data Exfiltration Protocol (DEP) Client - Transfer data with DEP
Installation
pip install dep_client
Usage
From command line:
python -m dep_client --ip IP --port PORT [--pkgSize PKGSIZE] [--msg {sim,dim,dam,dcm}] --uuid UUID [--hash HASH] [--path PATH] [--size SIZE] [--dataState {0,1,2}]
| Option | Short | Type | Default | Description |
|---|---|---|---|---|
| --ip | -i | String | - | IP address of destination |
| --port | -r | Int | - | Port of destination |
| --pkgSize | -k | Int | 1321 | Nr. of bytes to load in chunks. <= 1321 |
| --msg | -m | String | - | sim = SystemInformationMessage dim = DataInformationMessage dam = DataAcknowledgeMessage dcm = DataContentMessage |
| --uuid | -u | String | - | uuid4 str, e.g.: 50f437d8-28b7-4c65-9588-eef116a60ae3 |
| --hash | -a | String | - | sha256 hash of data as hex string |
| --path | -p | String | - | (for files) path under which the data is located. (for in memory) path under which the data is saved at exfiltration endpoint |
| --size | -s | Int | - | size of data in bytes |
| --dataState | -d | Int | - | 0 = Data is not exfiltrated yet 1 = Data is already exfiltrated 2 = Data available under given path but hash differs |
Example
python -m dep_client -i 127.0.0.1 -r 6666 -m sim -u 50f437d8-28b7-4c65-9588-eef116a60ae3
Sends SystemInformationMessage to 127.0.0.1 on port 6666 with uuid 50f437d8-28b7-4c65-9588-eef116a60ae3
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 dep_client-1.0.0.tar.gz.
File metadata
- Download URL: dep_client-1.0.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a5680b4c3e52c0dccab19aa632b016e7559aa16a091c3ab29849145df0a824d
|
|
| MD5 |
1adedd13fdccf969390e91d07a0dda18
|
|
| BLAKE2b-256 |
3693bc6134ed6e577a7ec3d4131fbb8689db217111525fef8413ccca8827f1ad
|
File details
Details for the file dep_client-1.0.0-py3-none-any.whl.
File metadata
- Download URL: dep_client-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb0bbc7b6cd854c6ac55fd407a5bc986ebab1bfe968ce47589e3fd5b8eaee414
|
|
| MD5 |
8b48d54ef497a14ae8252cb64dadc9c2
|
|
| BLAKE2b-256 |
17d239c31b104bb9a0adeb860410cfb7aad5394c025e51f4052404a6fd00e10e
|