This file contains 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
//Scroll to just inside class Handlers and add the following block: | |
public static ToolsAction("E&poch Analyzer") | |
function showTime() { | |
var s = FiddlerScript.prompt("Enter an Epoch time", DateTimeOffset.Now.ToUnixTimeSeconds(), "Epoch Analyzer"); | |
try { | |
var sec= Int64.Parse(s); | |
var dt: DateTimeOffset = DateTimeOffset.FromUnixTimeSeconds(sec); | |
FiddlerScript.alert("Unix Epoch time "+s+" is:\n\tLocal:\t"+dt.ToLocalTime().ToString()+"\n\tGMT:\t"+dt.ToString()); | |
} |
This file contains 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
/* | |
This sample shows how to implement the IOfficeAntiVirus interface in C# | |
The resulting object, once registered, will calculate the file hash (SHA256/Sha1/MD5) for each file downloaded by Chrome, Edge, and Internet Explorer. | |
In order to successfully register this object, we'll use REGASM to register the assembly, then run a registry script to add the IOfficeAntiVirus | |
component category, and we'll delete the "Discardable\PostSetup" cache of known IOfficeAntiVirus implementations so that the next call to the IOfficeAntiVirus | |
providers will find our new object. | |
Eric Lawrence |
This file contains 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
// Click Rules > Customize Rules. Scroll to OnBoot() and inside the function add: | |
static function OnBoot() { | |
FiddlerApplication.oProxy.add_DetachedUnexpectedly(DoReattach); | |
//... | |
// Just before the OnBoot function, add the following new functions: | |
static function DoReattach(o: Object, ea: EventArgs) { | |
FiddlerObject.UI.sbpInfo.Text = "Scheduling automatic reattach at " + new Date(); |
This file contains 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
using System; | |
using System.Security.Cryptography; | |
using System.Security.Cryptography.X509Certificates; | |
using Fiddler; | |
[assembly: Fiddler.RequiredVersion("2.5.0.0")] | |
namespace ClientCertPicker | |
{ | |
public class ClientCertPicker: IFiddlerExtension | |
{ |
This file contains 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
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Software\Microsoft\Fiddler2\ImagesMenuExt] | |
[HKEY_CURRENT_USER\Software\Microsoft\Fiddler2\ImagesMenuExt\&GifDump] | |
"Command"="C:\\Program Files (x86)\\Fiddler2\\Tools\\gifdump.exe" | |
"Types"="image/gif" | |
[HKEY_CURRENT_USER\Software\Microsoft\Fiddler2\ImagesMenuExt\&JPEGSnoop] | |
"Types"="image/jpeg" |
This file contains 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
using System; | |
using System.IO; | |
using System.Drawing; | |
using System.Drawing.Imaging; | |
using Fiddler; | |
using System.Windows.Forms; | |
using System.Diagnostics; | |
[assembly: Fiddler.RequiredVersion("2.6.2.0")] | |
namespace MakeJPEG |
This file contains 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
// | |
// Click Rules > Customize Rules. Uncomment the *OnDone* function and update it with | |
// the code inside the function body below. | |
// | |
// This function executes after Fiddler finishes processing a Session, regardless | |
// of whether it succeeded or failed. Note that this typically runs AFTER the last | |
// update of the Web Sessions UI listitem, so you must manually refresh the Session's | |
// UI if you intend to change it. | |
static function OnDone(oSession: Session) { |
This file contains 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 DoClear(src:Object, e: EventArgs) { | |
OnExecAction(["cls"]); | |
} | |
static function OnBoot() { | |
var o = new System.Windows.Forms.ToolStripMenuItem("Clear Sessions"); | |
o.add_Click(DoClear); | |
FiddlerApplication.UI.mnuNotify.Items.Insert(0, o); | |
} |
This file contains 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
// TODO: Customize Menu items names and IP values to match your system. | |
QuickLinkMenu("E&gress") | |
QuickLinkItem("Modem", "192.168.2.1") | |
QuickLinkItem("Cell", "123.13.13.2") | |
QuickLinkItem("(default)", "") | |
public static function DoEgressMenu(sText: String, sAction: String) | |
{ | |
FiddlerApplication.Prefs.SetStringPref("fiddler.network.egress.IP", sAction); | |
} |