Files
Tobias GesellchenandClaude Sonnet 4.6 cf7f3431f6 feat(android): scripted MITM setup with emulator snapshot and Frida SSL unpinning
- Add scripts/android/ with setup-mitm-avd.sh (one-time) and start-mitm-session.sh (per-session)
- Move frida Dockerfile to scripts/android/; extract frida-server + SSL scripts via Docker
- Use native macOS mitmproxy app for capture (Docker NAT blocks emulator traffic)
- Add native-connect-hook.js to Frida launch — required for Bose app's native networking
- Document verified AP mode Wi-Fi provisioning endpoint (POST :8090/addWirelessProfile)
- Correct factory reset sequences for ST10/ST20 from official Bose guides
- Remove old scripts/setup-mitm-avd.sh and scripts/start-mitm-session.sh (moved to android/)
- Add session trace with lessons learned from first interactive capture run

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-02 18:08:39 +02:00

26 lines
1022 B
Docker

FROM python:3.11-slim
ARG FRIDA_VERSION=17.9.1
ARG FRIDA_TOOLS_VERSION=14.8.1
RUN apt-get update && \
apt-get install -y android-tools-adb xz-utils curl && \
rm -rf /var/lib/apt/lists/*
RUN pip install frida==${FRIDA_VERSION} frida-tools==${FRIDA_TOOLS_VERSION} objection
RUN curl -L "https://github.com/frida/frida/releases/download/${FRIDA_VERSION}/frida-server-${FRIDA_VERSION}-android-arm64.xz" \
-o /tmp/frida-server.xz && \
xz -d /tmp/frida-server.xz && \
mv /tmp/frida-server /usr/local/bin/frida-server-android && \
chmod +x /usr/local/bin/frida-server-android
ARG FRIDA_SCRIPTS_REPO=https://github.com/httptoolkit/frida-interception-and-unpinning
ARG FRIDA_SCRIPTS_REF=main
RUN mkdir -p /usr/local/share/frida-scripts && \
curl -L "${FRIDA_SCRIPTS_REPO}/archive/refs/heads/${FRIDA_SCRIPTS_REF}.tar.gz" \
-o /tmp/frida-scripts.tar.gz && \
tar -xzf /tmp/frida-scripts.tar.gz --strip-components=1 \
-C /usr/local/share/frida-scripts && \
rm /tmp/frida-scripts.tar.gz