Skip to content

Instantly share code, notes, and snippets.

@rafinetiz
Last active May 30, 2022 07:00
Show Gist options
  • Save rafinetiz/e9a8a1e746f8059cf1df9a95a399aa4c to your computer and use it in GitHub Desktop.
Save rafinetiz/e9a8a1e746f8059cf1df9a95a399aa4c to your computer and use it in GitHub Desktop.
#!/data/data/com.termux/files/usr/bin/bash
# Install MITMPROXY for Termix
# Cara make / How To
#
# curl https://gist.github.com/rafinetiz/e9a8a1e746f8059cf1df9a95a399aa4c/raw/78814acb4d46ba06c2b133be233c2f5838da7c83/install-mitm.sh -LO
# chmod +x install-mitm.sh
# ./install-mitm.sh
pkg up
pkg install python rust
export CARGO_BUILD_TARGET=$(uname -m)-linux-android
pip install cryptography --no-cache-dir
# Pastikan dah install git / Make sure git already installed
# kalo belum / install it with
# 'pkg install git'
git clone https://github.com/mitmproxy/mitmproxy
pushd mitmproxy
sed -i "s/\"pyOpenSSL>=21.0,<21.1\",//g" setup.py
python setup.py install
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment