FiddlerCore with Python for .NET

649 views Asked by At

I'm trying to make FiddlerCore work with Python for .NET, but I've got a "mscorlib recursive resource lookup bug". Here's code:

import os
import sys
import clr
clr.AddReference("FiddlerCore")
import Fiddler

def printReq(sesion):
    print(session)

Fiddler.CONFIG.IgnoreServerCertErrors = False
Fiddler.FiddlerApplication.BeforeRequest += printReq
Fiddler.FiddlerApplication.Startup(8877, Fiddler.FiddlerCoreStartupFlags.Default)

while(True):
    if raw_input("exit? ") == "y":
        Fiddler.FiddlerApplication.Shutdown()
0

There are 0 answers