Description
Utility for sniffing SSL/TLS encrypted traffic on a darwin-based platforms.
CFNetwork.framework contains a debug/verbosity global, enforcing a dump of every packet transferred through it, to be
logged into device syslog in plaintext form. In order to have a nicer view with clean control flow of this traffic, we
attach each such packet appropriate TCP flags and write it back into a PCAP file.
This allows us to later dissect this traffic using popular and convenient tools (e.g. Wireshark 🦈).
On iOS, this will require a jailbroken iOS device.
Installation
python3 -m pip install -U darwin-ssl-sniffer
Usage
Local macOS machine
Simply execute:
# output file can be given using the -o option (traffic.pcapng by default)
python3 -m darwin_ssl_sniffer sniff
Jailbroken iOS device
- Download and install
rpcserveron a jailbroken device. - Execute:
python3 -m darwin_ssl_sniffer mobile setup -p 5910
This step should be performed only once on the device. The first time will require a device reboot (you will be prompted to if this is indeed the first time). - Execute:
# output file can be given using the -o option (traffic.pcapng by default) python3 -m darwin_ssl_sniffer mobile sniff
Metadata
Release files for darwin-ssl-sniffer 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| darwin-ssl-sniffer-0.0.4.tar.gz | 11.6 kB | Without provenance | Details for darwin-ssl-sniffer-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| darwin_ssl_sniffer-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for darwin_ssl_sniffer-0.0.4-py3-none-any.whl |
Total release size: 20.3 kB
Release files / darwin-ssl-sniffer-0.0.4.tar.gz
| Download URL | darwin-ssl-sniffer-0.0.4.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0b7994f4d45be1fc38c5059cdc41a0ae7e0c055fdc552e652d2c17fe0460b7ea
|
|
BLAKE2b-256 checksum How to use checksums |
3227c72e32267c8e3c403eaf623ff73e1973d80ea55c3a10d4480de051cc7489
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.1
|
Release files / darwin_ssl_sniffer-0.0.4-py3-none-any.whl
| Download URL | darwin_ssl_sniffer-0.0.4-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0d5d218b5b035707aebd0d450bd58452b89503bd6fd3cb752bba0e8e0f49a5c3
|
|
BLAKE2b-256 checksum How to use checksums |
402c51ced78d9556d358dcfecb955d05e556bd5e7393e34fae0f41325cc955e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.1
|
Security for darwin-ssl-sniffer 0.0.4
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.