Monday, October 12, 2020

Capture HTTP/HTTPS traffic using MITM PROXY in Linux

Capture HTTP/HTTPS traffic using MITM PROXY in Linux



This file contain 3 file.
  • mitmdump
  • mitmproxy
  • mitmweb

Here we are using mitmweb. 

Step 01: Install Root Certificate

MITMPROXY are installed in ~/.mitmproxy location.

Convert .pem to crt

openssl x509 -in ~/.mitmproxy/mitmproxy-ca.pem -inform PEM -out /usr/share/ca-certificates/extra/mitmproxy-ca.crt

Apply Certificate

dpkg-reconfigure ca-certificates




Step 02: Install Root Certificate in Mobile



Note: Once you apply the certificate, you have make it active.

Step 03: Start the "mitmweb"

./mitmweb


Step 04: Change  the proxy settings



No comments:

Post a Comment