MITMProxy#
Installation#
Usage Examples#
-
Capture gh-cli packets:
-
Make sure
mitmwebstarted -
Now run
ghcommand via HTTPS proxy -
Go to a browser, open
http://127.0.0.1:8081/to see the results.
-
-
Capture chisel client packets:
-
Run
mitmwebwith socks mode at a port you prefer, e.g. -
Run
chisel clientwith--proxy:% chisel client --proxy socks5h://127.0.0.1:8080 https://XXXXXXXXXX 0.0.0.0:1088 [yyyy/mm/dd HH:MM:SS] client: Connecting to wss://XXXXXXXXXX:443 via socks5h://127.0.0.1:8080 [yyyy/mm/dd HH:MM:SS] client: tun: proxy#1088=>0.0.0.0:1088: Listening [yyyy/mm/dd HH:MM:SS] client: Connected (Latency 171.816963ms) ... -
Go to a browser, open
http://127.0.0.1:8081/to see the results.
-