MITMProxy#
Installation#
Usage Examples#
-
Capture gh-cli packets:
-
Make sure
mitmweb
started -
Now run
gh
command via HTTPS proxy -
Go to a browser, open
http://127.0.0.1:8081/
to see the results.
-
-
Capture chisel client packets:
-
Run
mitmweb
with socks mode at a port you prefer, e.g. -
Run
chisel client
with--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.
-