Created
January 2, 2012 15:57
-
-
Save kaizimmer/1551201 to your computer and use it in GitHub Desktop.
Fiddler Rule - hide local traffic
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static function OnBeforeRequest(oSession: Session) | |
{ | |
//*/ | |
if (oSession["X-CLIENTIP"] != null && oSession["X-CLIENTIP"].EndsWith("ffff:127.0.0.1")) | |
{ | |
oSession["ui-hide"]="hiding local host"; //String value not important | |
} | |
//*/ | |
// remainder ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is part of the Handlers class (located in "user-directory/my documents/Fiddler2/Scripts/CustomRules.js").
You can edit this file directly from within Fiddler2 by installing the RulesTab2 extension (which is part of FiddlerSyntaxSetup.exe).