بنقرة واحدة
intercept
Intelligent traffic interception — SSL bypass, HTTP logging, traffic collection
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Intelligent traffic interception — SSL bypass, HTTP logging, traffic collection
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Full security analysis of an Android application — from APK to report
Compare two versions of an Android app — diff permissions, APIs, security, code changes
Discover, document, and map all API endpoints of an Android application
Automated account registration in an Android app using temp email and UI automation
| name | intercept |
| description | Intelligent traffic interception — SSL bypass, HTTP logging, traffic collection |
| user_invocable | true |
| argument | <package_name> |
| agent | android-reverser |
You are setting up intelligent traffic interception. Not just "run mitmproxy" — choose the right strategy based on the app's protections.
$ARGUMENTS — package name (must be installed on device)# Decompile resources
java -jar tools/apktool/apktool.jar d -s -f -o /tmp/intercept_recon $APK
Read res/xml/network_security_config.xml:
<domain-config cleartextTrafficPermitted="false"> → HTTPS only<pin-set> → Certificate pinning configured<trust-anchors><certificates src="user"/> → User CA trusted (easy mode!)grep -rn 'CertificatePinner\|TrustManager\|X509\|ssl_pinning\|NetworkSecurityConfig' workspace/output/$PKG/
Determine pinning type:
SSL_CTX_set_verifyBased on recon, choose approach:
# Just log with Frida (simplest, no proxy needed)
frida -U -f $PKG -l workspace/frida-scripts/http-logger.js
# SSL bypass + HTTP logging
frida -U -f $PKG \
-l workspace/frida-scripts/ssl-bypass.js \
-l workspace/frida-scripts/http-logger.js
# Full bypass stack
frida -U -f $PKG \
-l workspace/frida-scripts/root-bypass.js \
-l workspace/frida-scripts/ssl-bypass.js \
-l workspace/frida-scripts/http-logger.js
Use phantom-frida stealth server. Read tools/phantom-frida/build-info.json for name and port:
# Parse config
cat tools/phantom-frida/build-info.json
# → {"name": "<NAME>", "port": <PORT>, ...}
# Deploy phantom-frida to device (if not already running)
adb push tools/phantom-frida/<NAME>-server /data/local/tmp/<NAME>-server
adb shell chmod 755 /data/local/tmp/<NAME>-server
adb shell /data/local/tmp/<NAME>-server -D &
adb forward tcp:<PORT> tcp:<PORT>
# Use -H instead of -U (custom port)
frida -H 127.0.0.1:<PORT> -f $PKG \
-l workspace/frida-scripts/ssl-bypass.js \
-l workspace/frida-scripts/http-logger.js
Signs that app detects Frida: crashes immediately on frida -U, "illegal instruction" error,
app shows "security check failed", or app force-closes when Frida attaches.
Write a custom Frida script to hook the specific pinning implementation found in recon. May need to hook native functions in specific .so files.
# Start mitmproxy with HAR dump
mitmdump -w workspace/traffic/$PKG.har --set stream_large_bodies=10m
# Configure device proxy
adb shell settings put global http_proxy <computer_ip>:8080
# Then bypass pinning
frida -U -f $PKG -l workspace/frida-scripts/ssl-bypass.js
Launch chosen strategy from Phase 2.
# Automated navigation
python pytools/ui_explorer.py snapshot # See current state
# Walk key flows:
# - App startup (splash → main screen)
# - Login/registration
# - Main features
# - Settings
# - Profile
Spend adequate time on each screen. Some API calls happen on timers or scroll events.
If using http-logger.js, output goes to console. Capture it:
frida -U -f $PKG -l workspace/frida-scripts/ssl-bypass.js -l workspace/frida-scripts/http-logger.js 2>&1 | tee workspace/traffic/$PKG-raw.log
# Extract HTTP-LOG lines
grep '^\[HTTP-LOG\]' workspace/traffic/$PKG-raw.log | sed 's/^\[HTTP-LOG\] //' > workspace/traffic/$PKG-traffic.json
python pytools/traffic_to_collection.py frida workspace/traffic/$PKG-traffic.json \
--name "$PKG API" \
--output workspace/collections/$PKG.json
# If traffic was captured via mitmproxy (not Frida http-logger)
mitmproxy2swagger -i workspace/traffic/$PKG.flow -o workspace/collections/$PKG-api.yaml \
-p https://api.example.com --examples
Report to user:
# Remove proxy if set
adb shell settings put global http_proxy :0