Wednesday, November 18, 2015

FIDDLER: Decrypt traffic from one hostname only

1) activate "Decrypt HTTPS traffic" ... from all processes inside Fiddler options.
2) Menu Rules  choose "Cutomize Rules.."
3) Search function "static function OnBeforeRequest(oSession: Session)"
4) Insert the following code (with your host name) inside the function

  if (oSession.HTTPMethodIs("CONNECT") &&
        !oSession.HostnameIs("www.onlyinterceptthishost.com"))
    {
        oSession["x-no-decrypt"] = "do not care.";
    }

thats all :)

More Details: http://docs.telerik.com/fiddler/Configure-Fiddler/Tasks/DecryptHTTPS