wireshark_remote - Initiate wireshark remote capture (SSH or AVM FRITZ!Box)
This project provides the wireshark-ssh and wireshark-fritzbox wrapper
scripts that simplify executing Wireshark to remotely capture network traffic.
Installation
wireshark_remote (and its dependencies) can be installed from PyPI with:
python -m pip install wireshark_remote
In addition the following programs need to be available an in PATH.
The corresponding packages have to be installed through your distro's package
manager.
wireshark-ssh requires on the host:
- wireshark
- ssh
and on the remote machine (besides having an SSH server running):
- tcpdump
- sudo (optional)
wireshark-fritzbox requires on the host:
- wireshark
- wget
Usage
wireshark-ssh
Usage: wireshark-ssh.py [OPTIONS] HOST [EXPRESSION]...
Launches wireshark locally and runs tcpdump on the remote [USER@]HOST via
SSH. An optional tcpdump filter EXPRESSION allows to prefilter the captured
packets.
Options:
-i, --interface TEXT The interface to capture from (default any).
-s, --sudo Run tcpdump via sudo.
--help Show this message and exit.
The following example shows how to remotely capture DNS network traffic on any interface over SSH (tcpdump is executed with sudo on the remote host):
wireshark-ssh --sudo <user>@<host> port 53
wireshark-fritzbox
Usage: wireshark-fritzbox.py [OPTIONS] [HOST]
Launches wireshark locally and captures from the AVM FRITZ!Box webinterface.
Options:
-i, --interface TEXT The interface to capture from (default 3-0).
-U, --username TEXT [required]
-P, --password TEXT [required]
--help Show this message and exit.
The following example shows how to remotely capture all network traffic on the
Routing Interface (3-0) of the AVM FRITZ!Box on fritz.box:
wireshark-fritzbox -U <username> -P <password>
License
This projected is licensed under the terms of the MIT license.
Release files for wireshark-remote 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wireshark_remote-0.1.2.tar.gz | 24.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wireshark_remote-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.3 kB
Release files / wireshark_remote-0.1.2.tar.gz
| Download URL | wireshark_remote-0.1.2.tar.gz |
|---|---|
| Size | 24.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1570b21c0b341447d63566c4de22055136424e1273ce9db1eb74d681e42bfd5c
|
|
BLAKE2b-256 checksum How to use checksums |
6e9b15d392f0154c37b99683ef259955e26bd267b3d265d5b5e1a7588f54b67b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 4, 2025.
Transparency logRelease files / wireshark_remote-0.1.2-py3-none-any.whl
| Download URL | wireshark_remote-0.1.2-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d1cec2a24d82ec0e9f936786a93205263dfc741b4a27693c9f159a1920726689
|
|
BLAKE2b-256 checksum How to use checksums |
6f7a124f5c63cc2213f2ee3b65f1badfe2b745c3603c7e43f2093cd66f053234
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 4, 2025.
Transparency log