cppisking / ffrk-inspector

Issues tracker for FFRK Inspector
10 stars 8 forks source link

Feature Request: Automatically Add Fiddler Rule to ignore non-FFRK traffic #79

Open sordidfellow opened 9 years ago

sordidfellow commented 9 years ago

Adding the following snippet to Fiddler's rules should cause non-FFRK traffic to not be inspected.

This allows apps and services such as iCloud and the App Store to continue functioning on the device since that traffic is not being transformed by Fiddler, and presumably any other apps that check certificates more robustly.

in static function OnBeforeRequest(oSession: Session), Add the following lines near the top of the function:

    if (oSession.hostname != "ffrk.denagames.com") {
        oSession.Ignore();
    }

From http://www.fiddlerbook.com/fiddler/help/httpsdecryption.asp, some other options are:

if (oSession.HTTPMethodIs("CONNECT") && !oSession.HostnameIs("ffrk.denagames.com"))
    { oSession["x-no-decrypt"] = "blah blah anything here works"; } 

The biggest perk of this rule is that when starting FFRK, the app does not hang or error out. It always connects flawlessly!