Advertisement
Guest User

Untitled

a guest
Nov 12th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. Application.ApplicationExit += StopFiddler;
  2.  
  3. FiddlerApplication.BeforeRequest += BeforeRequest;
  4. FiddlerApplication.BeforeResponse += BeforeResponse;
  5.  
  6. FiddlerCoreStartupSettings startupSettings =
  7. new FiddlerCoreStartupSettingsBuilder()
  8. .ListenOnPort(8888)
  9. .RegisterAsSystemProxy()
  10. .DecryptSSL()
  11. .AllowRemoteClients()
  12. //.ChainToUpstreamGateway()
  13. //.MonitorAllConnections()
  14. //.HookUsingPACFile()
  15. //.CaptureLocalhostTraffic()
  16. //.CaptureFTP()
  17. //.OptimizeThreadPool()
  18. //.SetUpstreamGatewayTo("http=CorpProxy:80;https=SecureProxy:443;ftp=ftpGW:20")
  19. .Build();
  20.  
  21. FiddlerApplication.Startup(startupSettings);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement