Installation¶
This guide will help you install and set up friTap for SSL/TLS traffic analysis.
Source of truth for frida version compatibility: compat.yml. All version statements in this document derive from it; if you spot a discrepancy, please file an issue.
System Requirements¶
Minimum Requirements¶
- Python: 3.10 or higher
- Frida: 17.x (see Frida compatibility)
- Operating System: Linux, Windows, macOS
- Memory: 512 MB RAM (minimum)
- Storage: 50 MB free disk space
Recommended Requirements¶
- Python: 3.10 or higher
- Frida: 17.x (latest patch)
- Memory: 2 GB RAM or more
- Storage: 1 GB free disk space
Installation Methods¶
Method 1: PyPI Installation (Recommended)¶
The easiest way to install friTap is through PyPI:
For the latest version:
Method 2: Development Installation¶
If you want to modify friTap or contribute to its development:
# Clone the repository
git clone https://github.com/fkie-cad/friTap.git
cd friTap
# Install in development mode
pip install -e .
# Install with development dependencies
pip install -e .[dev]
Optional extras¶
friTap's crypto backend now ships in the base install, so offline protocol decryption works out of the box with pip install friTap (no extra needed). On platforms with a wheel, the optional tgcrypto accelerator is pulled in automatically too; the only remaining extra is dev. See Telegram (MTProto) for details.
If you want a lean install that skips the crypto backend, install without dependencies and use the minimal requirements:
In that lean mode offline decryption simply prints a pip install cryptography hint and skips (no crash); live key capture works regardless.
Platform-Specific Setup¶
Linux¶
-
Install dependencies:
-
Install friTap:
-
Set up permissions (for desktop applications):
Windows¶
- Install Python from python.org
- Install Visual Studio Build Tools (if needed)
-
Install friTap:
-
Run as Administrator for desktop applications
macOS¶
-
Install Homebrew (if not already installed):
-
Install Python:
-
Install friTap:
-
Disable SIP (if analyzing system applications):
Mobile Platform Setup¶
Android¶
- Enable Developer Options on your Android device
- Enable USB Debugging
-
Install ADB on your computer:
-
Install frida-server on Android:
iOS¶
- Jailbreak your iOS device (required for friTap)
-
Install OpenSSH and Frida from Cydia:
-
Install frida-server:
Verification¶
After installation, verify that friTap is working correctly:
Expected Output¶
friTap v2.0.8
Usage: fritap [OPTIONS] TARGET
Options:
-m, --mobile Mobile application analysis
-k, --keylog PATH Save TLS keys to file
-p, --pcap PATH Save decrypted traffic to PCAP
--help Show this message and exit
Common Installation Issues¶
Issue: Permission Denied¶
Problem: Permission denied when running friTap
Solution:
Issue: Frida Not Found¶
Problem: frida: command not found
Solution:
Issue: Python Version Compatibility¶
Problem: friTap requires Python 3.10+
Solution:
# Check Python version
python3 --version
# Install newer Python version
# Follow platform-specific Python installation guides
Issue: ADB Not Found (Android)¶
Problem: adb: command not found
Solution:
# Linux
sudo apt install android-tools-adb
# macOS
brew install android-platform-tools
# Windows
# Download Android SDK Platform Tools
# Add to system PATH
Next Steps¶
Once friTap is installed, you can:
- Read the Quick Start Guide for basic usage
- Explore Usage Examples for specific scenarios
- Check Platform Guides for detailed setup instructions
- Review Troubleshooting if you encounter issues
Dependencies¶
friTap automatically installs the following dependencies:
- frida (>= 17.0.0, < 18.0.0): Core instrumentation framework
- frida-tools (>= 14.0.0, < 15.0.0): Frida command-line tools
- scapy: Network packet manipulation
- AndroidFridaManager: Android device management
- rich (>= 13.0.0): Terminal output formatting
- hexdump: Binary data display
- watchdog: File system monitoring
- psutil: System and process utilities
- textual (>= 0.80.0): Powers the interactive terminal UI (ships by default; no extra install needed)
- tlsLibHunter: TLS/SSL library detection — powers
--library-scan,-ll/--list-librariesand--extract-libraries(imported astlslibhunter) - platformdirs, pydantic (>= 2.0): Configuration and platform-aware paths
- h11, hpack, pylsqpack: HTTP/1, HTTP/2 and HTTP/3 (QPACK) parsing
- zstandard (>= 0.19), brotli (>= 1.0): Response body decompression
The Frida agent is shipped pre-compiled
friTap bundles a pre-built JavaScript agent at friTap/fritap_agent.js, so installing the package is all you need to run captures — there is no Node/TypeScript toolchain required for normal use. Contributors who change the agent source under agent/ rebuild it with npm run build (see Architecture for the build pipeline).
Optional Dependencies¶
For enhanced functionality: