Skip to content
프로젝트

소개

PCAPdroid용 MITM 애드온

기타 프로젝트

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
+1
in 7 days
+2
in 15 days
+6
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

PCAPdroid mitm addon

A PCAPdroid addon which uses mitmproxy to decrypt the TLS/SSL connections and show the decrypted data in the app.

The addon uses the open source framework chaquopy to bundle and run python modules. The native python modules are pre-built and installed from the chaquopy pip repository and from the chaquopy-wheels submodule, see the mitmproxy branches of my chaquopy fork for the recipes.

Build

The following build instructions work on a clean Ubuntu 24.04 LTS at the moment, but may get updated. Build on Windows is not currently supported.

  1. Install Java 17 and git
sudo apt install openjdk-17-jdk git

# should print "openjdk 17.x"
java --version
  1. Install python 3.13, which is required to correctly build with Chaquopy
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt install python3.13

# should print "Python 3.13.x"
python3.13 --version
  1. Clone the repo
git clone https://github.com/emanuele-f/PCAPdroid-mitm
cd PCAPdroid-mitm
git submodule update --init
  1. Install the Android SDK. These instructions assume you will work from the CLI, however you can do the same via Android Studio, which will make installing and managing SDK versions easier.
# 1. Grab the latest "Command line tools only" for linux from https://developer.android.com/studio,
wget https://dl.google.com/android/repository/commandlinetools-linux-11076708_latest.zip
unzip commandlinetools-linux-11076708_latest.zip

# 2. Set up the environment
export ANDROID_SDK_ROOT=~/Android
alias sdkmanager="cmdline-tools/bin/sdkmanager --sdk_root=$ANDROID_SDK_ROOT"
sdkmanager --update

# 3. Install the SDK
# android-34 corresponds to targetSdk in app/build.gradle
sdkmanager "platforms;android-34" "extras;google;m2repository" "extras;android;m2repository"
  1. Create keystore for signing
keytool -genkey -alias key0 -keyalg RSA -keystore keystore -storepass android -keypass android -dname "CN=Unknown, OU=Unknown, O=Unknown, C=Unknown"
  1. Build release
./gradlew assembleRelease

# The signed apks should be located under `./app/build/outputs/apk`
# find . -name "*.apk"

To prepare the signed release to be published:

# First build the signed APKs from Android Studio, then run the following
# command to move them to the "dist" folder
python make_dist.py

관련 프로젝트 살펴보기

불러오는 중…