Installation¶
This guide will help you install and set up friTap for SSL/TLS traffic analysis.
System Requirements¶
Minimum Requirements¶
- Python: 3.7 or higher
- Frida: 16.0 or higher
- 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.0 or higher
- 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]
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 1.3.4.2
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.7+
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 (>= 16.0.0): Core instrumentation framework
- frida-tools (>= 11.0.0): Frida command-line tools
- scapy: Network packet manipulation
- AndroidFridaManager: Android device management
- rich (>= 13.0.0): Terminal output formatting
- click: Command-line interface
- hexdump: Binary data display
- watchdog: File system monitoring
- psutil: System and process utilities
Optional Dependencies¶
For enhanced functionality: