Skip to content

Instantly share code, notes, and snippets.

@T4P4N
Last active March 26, 2025 15:36
Show Gist options
  • Save T4P4N/d88497e65d2679c0ae519586aa3bc43d to your computer and use it in GitHub Desktop.
Save T4P4N/d88497e65d2679c0ae519586aa3bc43d to your computer and use it in GitHub Desktop.
Setup mitm proxy in Termux/Termux-arch

Installation

pacman -S mitmproxy

Setup & configuration

mitmproxy --listen-host 127.0.0.1 -p 4444
  • copy-paste the following in proxy settings:
  • proxy = 127.0.0.1
  • proxy port = 4444
  • and save that
  • Now visit the magic domain:
mitm.it
  • and install certificate as per instructions
  • and check the terminal
  • you should be watching intercepted requests in realtime.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment