Using Python to call FiddlerCore and capture both HTTP and HTTPS packets.
Auto supply the certificate when capture HTTPS . Use Bouncy Castle certificate generator to generates a root certificate and asks to trust it, then generates end-entity certificates on-the-fly for each domain visited with the root certificate as the signer.
-
UsesCase:
Put FiddlerCore4.dll in any path and append it to Python sys.path to reference it
Put CertMaker.dll and BCMakeCert.dll to Python bin directory like C:\python27 -
Dependence:
pythonnet
pypiwin32 -
Test environment:
Python version: 2.7.13
Pythonnet version: 2.3.0
FiddlerCore 4.6.20171.13571
Win7 32bit and xp sp3 with .net 4 -
Thanks:
Rick Strahl
Eric Lawrence