Initiate wireshark remote capture (SSH or AVM FRITZ!Box)
Project description
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.
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 wireshark_remote-0.1.1.tar.gz.
File metadata
- Download URL: wireshark_remote-0.1.1.tar.gz
- Upload date:
- Size: 24.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8acd75548da7731cd259f99aac53a1a872eccd982c64b9c741e8b8233a3687c
|
|
| MD5 |
342e6c144580fe5a27bfe7fe21713959
|
|
| BLAKE2b-256 |
f256ac8113e9c4caff414c7e9db28e09f9fe71e8b9a354162badac71461024e6
|
Provenance
The following attestation bundles were made for wireshark_remote-0.1.1.tar.gz:
Publisher:
check.yml on fetzerch/wireshark_remote
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wireshark_remote-0.1.1.tar.gz -
Subject digest:
f8acd75548da7731cd259f99aac53a1a872eccd982c64b9c741e8b8233a3687c - Sigstore transparency entry: 349291317
- Sigstore integration time:
-
Permalink:
fetzerch/wireshark_remote@0b4a40da61f7db80ca99204dff5b72c50a97fe02 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/fetzerch
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
check.yml@0b4a40da61f7db80ca99204dff5b72c50a97fe02 -
Trigger Event:
push
-
Statement type:
File details
Details for the file wireshark_remote-0.1.1-py3-none-any.whl.
File metadata
- Download URL: wireshark_remote-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
956c14f32df28391dac86c2710ddda13e35b307fd318c7d9562580b7be7f6935
|
|
| MD5 |
d661681e8a09f698279eb73a2c520b9b
|
|
| BLAKE2b-256 |
f9f2c6cbc47b610f3ccc495a89466537910373ce01a6344c46a3b34b04bc28ca
|
Provenance
The following attestation bundles were made for wireshark_remote-0.1.1-py3-none-any.whl:
Publisher:
check.yml on fetzerch/wireshark_remote
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wireshark_remote-0.1.1-py3-none-any.whl -
Subject digest:
956c14f32df28391dac86c2710ddda13e35b307fd318c7d9562580b7be7f6935 - Sigstore transparency entry: 349291327
- Sigstore integration time:
-
Permalink:
fetzerch/wireshark_remote@0b4a40da61f7db80ca99204dff5b72c50a97fe02 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/fetzerch
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
check.yml@0b4a40da61f7db80ca99204dff5b72c50a97fe02 -
Trigger Event:
push
-
Statement type: