Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

darwin-ssl-sniffer

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

darwin-ssl-sniffer

Sniffer for encrypted traffic on darwin-based platforms

  • 0.0.4
  • PyPI
  • Socket score

Maintainers
1

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 rpcserver on 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
    

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc