├── App.ico
├── saz.ico
├── Analytics.dll
├── CertMaker.dll
├── Countdown.wav
├── Fiddler.exe
├── ForceCPU.exe
├── TrustCert.exe
├── license.txt
├── makecert.exe
├── BCMakeCert.dll
├── ExecAction.exe
├── LoadScript.wav
├── Screenshot.wav
├── Scripts
├── ToE.dll
├── Differ.dll
├── Gallery.dll
├── JSFormat.dll
├── Timeline.dll
├── ImageBloat.dll
├── RulesTab2.dll
├── netstandard.dll
├── ContentBlock.dll
├── FiddlerCheck.dll
├── QWhale.Common.dll
├── QWhale.Editor.dll
├── QWhale.Syntax.dll
├── SimpleFilter.dll
├── AustralianImages.dll
├── Compressibility.dll
├── QWhale.Syntax.Parsers.dll
├── FiddlerOrchestra.Addon.dll
├── FiddlerOrchestra.Protocol.dll
├── FiddlerOrchestra.Utilities.dll
├── FiddlerOrchestra.Connection.dll
├── SampleRules.js
└── SampleRules.cs
├── Tools
├── dwebp.exe
├── Brotli.exe
├── JXR2PNG.exe
├── Zopfli.exe
├── PngDistill.exe
└── JXR2PNG.exe.config
├── 证书插件
├── 使用前必读.txt
├── CertMaker.dll
└── BCMakeCert.dll
├── EnableLoopback.exe
├── Xceed.Zip.v5.4.dll
├── 运行FiddlerCap.exe
├── LoadScriptError.wav
├── Newtonsoft.Json.dll
├── FiddlerCap
├── license.txt
├── makecert.exe
├── FiddlerCap.exe
├── FiddlerCap.pdb
├── Ionic.Zip.Reduced.dll
└── FiddlerCap.exe.config
├── Inspectors
├── Standard.dll
├── SyntaxView.dll
├── QWhale.Common.dll
├── QWhale.Editor.dll
├── QWhale.Syntax.dll
└── QWhale.Syntax.Schemes.dll
├── ScriptEditor
├── FSE2.exe
├── Analytics.dll
├── Analytics.pdb
├── QWhale.Common.dll
├── QWhale.Editor.dll
├── QWhale.Syntax.dll
├── GA.Analytics.Monitor.dll
├── GA.Analytics.Monitor.pdb
├── QWhale.Syntax.Parsers.dll
└── FSE2.exe.config
├── GA.Analytics.Monitor.dll
├── Xceed.FileSystem.v5.4.dll
├── Be.Windows.Forms.HexBox.dll
├── Xceed.Compression.v5.4.dll
├── ImportExport
├── BasicFormats.dll
└── VSWebTestExport.dll
├── Telerik.NetworkConnections.dll
├── Fiddler ScriptEditor 编辑器绿化工具.exe
├── Xceed.Compression.Formats.v5.4.dll
├── ResponseTemplates
├── 200_FiddlerGif.dat
├── 200_TransPixel.dat
├── 204_NoContent.dat
├── 304_NotModified.dat
├── 200_SimpleHTML.dat
├── 302_Redirect.dat
├── 303_RedirectWithGet.dat
├── 307_RedirectWithMethod.dat
├── 403_AuthDeny.dat
├── 404_Plain.dat
├── 502_Unreachable.dat
├── 401_AuthBasic.dat
├── 407_ProxyAuthBasic.dat
└── 401_AuthDigest.dat
├── Plugins
└── NetworkConnections
│ └── Telerik.NetworkConnections.Windows.dll
├── Fiddler.exe.config
└── README.md
/App.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/App.ico
--------------------------------------------------------------------------------
/saz.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/saz.ico
--------------------------------------------------------------------------------
/Analytics.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Analytics.dll
--------------------------------------------------------------------------------
/CertMaker.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/CertMaker.dll
--------------------------------------------------------------------------------
/Countdown.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Countdown.wav
--------------------------------------------------------------------------------
/Fiddler.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Fiddler.exe
--------------------------------------------------------------------------------
/ForceCPU.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/ForceCPU.exe
--------------------------------------------------------------------------------
/TrustCert.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/TrustCert.exe
--------------------------------------------------------------------------------
/license.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/license.txt
--------------------------------------------------------------------------------
/makecert.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/makecert.exe
--------------------------------------------------------------------------------
/BCMakeCert.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/BCMakeCert.dll
--------------------------------------------------------------------------------
/ExecAction.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/ExecAction.exe
--------------------------------------------------------------------------------
/LoadScript.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/LoadScript.wav
--------------------------------------------------------------------------------
/Screenshot.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Screenshot.wav
--------------------------------------------------------------------------------
/Scripts/ToE.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Scripts/ToE.dll
--------------------------------------------------------------------------------
/Tools/dwebp.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Tools/dwebp.exe
--------------------------------------------------------------------------------
/证书插件/使用前必读.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/证书插件/使用前必读.txt
--------------------------------------------------------------------------------
/EnableLoopback.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/EnableLoopback.exe
--------------------------------------------------------------------------------
/Scripts/Differ.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Scripts/Differ.dll
--------------------------------------------------------------------------------
/Tools/Brotli.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Tools/Brotli.exe
--------------------------------------------------------------------------------
/Tools/JXR2PNG.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Tools/JXR2PNG.exe
--------------------------------------------------------------------------------
/Tools/Zopfli.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Tools/Zopfli.exe
--------------------------------------------------------------------------------
/Xceed.Zip.v5.4.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Xceed.Zip.v5.4.dll
--------------------------------------------------------------------------------
/证书插件/CertMaker.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/证书插件/CertMaker.dll
--------------------------------------------------------------------------------
/运行FiddlerCap.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/运行FiddlerCap.exe
--------------------------------------------------------------------------------
/LoadScriptError.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/LoadScriptError.wav
--------------------------------------------------------------------------------
/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/Scripts/Gallery.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Scripts/Gallery.dll
--------------------------------------------------------------------------------
/Scripts/JSFormat.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Scripts/JSFormat.dll
--------------------------------------------------------------------------------
/Scripts/Timeline.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Scripts/Timeline.dll
--------------------------------------------------------------------------------
/Tools/PngDistill.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Tools/PngDistill.exe
--------------------------------------------------------------------------------
/证书插件/BCMakeCert.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/证书插件/BCMakeCert.dll
--------------------------------------------------------------------------------
/FiddlerCap/license.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/FiddlerCap/license.txt
--------------------------------------------------------------------------------
/FiddlerCap/makecert.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/FiddlerCap/makecert.exe
--------------------------------------------------------------------------------
/Inspectors/Standard.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Inspectors/Standard.dll
--------------------------------------------------------------------------------
/ScriptEditor/FSE2.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/ScriptEditor/FSE2.exe
--------------------------------------------------------------------------------
/Scripts/ImageBloat.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Scripts/ImageBloat.dll
--------------------------------------------------------------------------------
/Scripts/RulesTab2.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Scripts/RulesTab2.dll
--------------------------------------------------------------------------------
/Scripts/netstandard.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Scripts/netstandard.dll
--------------------------------------------------------------------------------
/FiddlerCap/FiddlerCap.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/FiddlerCap/FiddlerCap.exe
--------------------------------------------------------------------------------
/FiddlerCap/FiddlerCap.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/FiddlerCap/FiddlerCap.pdb
--------------------------------------------------------------------------------
/GA.Analytics.Monitor.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/GA.Analytics.Monitor.dll
--------------------------------------------------------------------------------
/Inspectors/SyntaxView.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Inspectors/SyntaxView.dll
--------------------------------------------------------------------------------
/Scripts/ContentBlock.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Scripts/ContentBlock.dll
--------------------------------------------------------------------------------
/Scripts/FiddlerCheck.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Scripts/FiddlerCheck.dll
--------------------------------------------------------------------------------
/Scripts/QWhale.Common.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Scripts/QWhale.Common.dll
--------------------------------------------------------------------------------
/Scripts/QWhale.Editor.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Scripts/QWhale.Editor.dll
--------------------------------------------------------------------------------
/Scripts/QWhale.Syntax.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Scripts/QWhale.Syntax.dll
--------------------------------------------------------------------------------
/Scripts/SimpleFilter.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Scripts/SimpleFilter.dll
--------------------------------------------------------------------------------
/Xceed.FileSystem.v5.4.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Xceed.FileSystem.v5.4.dll
--------------------------------------------------------------------------------
/Be.Windows.Forms.HexBox.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Be.Windows.Forms.HexBox.dll
--------------------------------------------------------------------------------
/Inspectors/QWhale.Common.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Inspectors/QWhale.Common.dll
--------------------------------------------------------------------------------
/Inspectors/QWhale.Editor.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Inspectors/QWhale.Editor.dll
--------------------------------------------------------------------------------
/Inspectors/QWhale.Syntax.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Inspectors/QWhale.Syntax.dll
--------------------------------------------------------------------------------
/ScriptEditor/Analytics.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/ScriptEditor/Analytics.dll
--------------------------------------------------------------------------------
/ScriptEditor/Analytics.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/ScriptEditor/Analytics.pdb
--------------------------------------------------------------------------------
/Scripts/AustralianImages.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Scripts/AustralianImages.dll
--------------------------------------------------------------------------------
/Scripts/Compressibility.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Scripts/Compressibility.dll
--------------------------------------------------------------------------------
/Xceed.Compression.v5.4.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Xceed.Compression.v5.4.dll
--------------------------------------------------------------------------------
/ImportExport/BasicFormats.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/ImportExport/BasicFormats.dll
--------------------------------------------------------------------------------
/ScriptEditor/QWhale.Common.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/ScriptEditor/QWhale.Common.dll
--------------------------------------------------------------------------------
/ScriptEditor/QWhale.Editor.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/ScriptEditor/QWhale.Editor.dll
--------------------------------------------------------------------------------
/ScriptEditor/QWhale.Syntax.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/ScriptEditor/QWhale.Syntax.dll
--------------------------------------------------------------------------------
/Telerik.NetworkConnections.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Telerik.NetworkConnections.dll
--------------------------------------------------------------------------------
/Fiddler ScriptEditor 编辑器绿化工具.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Fiddler ScriptEditor 编辑器绿化工具.exe
--------------------------------------------------------------------------------
/FiddlerCap/Ionic.Zip.Reduced.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/FiddlerCap/Ionic.Zip.Reduced.dll
--------------------------------------------------------------------------------
/ImportExport/VSWebTestExport.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/ImportExport/VSWebTestExport.dll
--------------------------------------------------------------------------------
/Scripts/QWhale.Syntax.Parsers.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Scripts/QWhale.Syntax.Parsers.dll
--------------------------------------------------------------------------------
/Scripts/FiddlerOrchestra.Addon.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Scripts/FiddlerOrchestra.Addon.dll
--------------------------------------------------------------------------------
/Xceed.Compression.Formats.v5.4.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Xceed.Compression.Formats.v5.4.dll
--------------------------------------------------------------------------------
/Inspectors/QWhale.Syntax.Schemes.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Inspectors/QWhale.Syntax.Schemes.dll
--------------------------------------------------------------------------------
/ResponseTemplates/200_FiddlerGif.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/ResponseTemplates/200_FiddlerGif.dat
--------------------------------------------------------------------------------
/ResponseTemplates/200_TransPixel.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/ResponseTemplates/200_TransPixel.dat
--------------------------------------------------------------------------------
/ScriptEditor/GA.Analytics.Monitor.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/ScriptEditor/GA.Analytics.Monitor.dll
--------------------------------------------------------------------------------
/ScriptEditor/GA.Analytics.Monitor.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/ScriptEditor/GA.Analytics.Monitor.pdb
--------------------------------------------------------------------------------
/ScriptEditor/QWhale.Syntax.Parsers.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/ScriptEditor/QWhale.Syntax.Parsers.dll
--------------------------------------------------------------------------------
/Scripts/FiddlerOrchestra.Protocol.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Scripts/FiddlerOrchestra.Protocol.dll
--------------------------------------------------------------------------------
/Scripts/FiddlerOrchestra.Utilities.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Scripts/FiddlerOrchestra.Utilities.dll
--------------------------------------------------------------------------------
/Scripts/FiddlerOrchestra.Connection.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Scripts/FiddlerOrchestra.Connection.dll
--------------------------------------------------------------------------------
/ScriptEditor/FSE2.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/ResponseTemplates/204_NoContent.dat:
--------------------------------------------------------------------------------
1 | HTTP/1.1 204 No Content
2 | FiddlerTemplate: True
3 | Date: Fri, 25 Jan 2013 16:49:29 GMT
4 | Content-Length: 0
5 |
6 |
--------------------------------------------------------------------------------
/ResponseTemplates/304_NotModified.dat:
--------------------------------------------------------------------------------
1 | HTTP/1.1 304 Not Modified
2 | FiddlerTemplate: True
3 | Date: Fri, 25 Jan 2013 16:49:29 GMT
4 | Content-Length: 0
5 |
6 |
--------------------------------------------------------------------------------
/Plugins/NetworkConnections/Telerik.NetworkConnections.Windows.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gabrielxvx/zh-fiddler/HEAD/Plugins/NetworkConnections/Telerik.NetworkConnections.Windows.dll
--------------------------------------------------------------------------------
/FiddlerCap/FiddlerCap.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ResponseTemplates/200_SimpleHTML.dat:
--------------------------------------------------------------------------------
1 | HTTP/1.1 200 OK
2 | FiddlerTemplate: True
3 | Date: Fri, 25 Jan 2013 16:49:29 GMT
4 | Content-Length: 51
5 |
6 | This is a simple Fiddler-returned HTML page.
--------------------------------------------------------------------------------
/ResponseTemplates/302_Redirect.dat:
--------------------------------------------------------------------------------
1 | HTTP/1.1 302 Redirect
2 | FiddlerTemplate: True
3 | Date: Fri, 25 Jan 2013 16:49:29 GMT
4 | Location: http://www.fiddler2.com/sandbox/FormAndCookie.asp
5 | Content-Length: 0
6 |
7 |
--------------------------------------------------------------------------------
/ResponseTemplates/303_RedirectWithGet.dat:
--------------------------------------------------------------------------------
1 | HTTP/1.1 303 Redirect Using GET
2 | FiddlerTemplate: True
3 | Date: Fri, 25 Jan 2013 16:49:29 GMT
4 | Location: http://www.fiddler2.com/sandbox/FormAndCookie.asp
5 | Content-Length: 0
6 |
7 |
--------------------------------------------------------------------------------
/ResponseTemplates/307_RedirectWithMethod.dat:
--------------------------------------------------------------------------------
1 | HTTP/1.1 307 Redirect using same Method
2 | FiddlerTemplate: True
3 | Date: Fri, 25 Jan 2013 16:49:29 GMT
4 | Location: http://www.fiddler2.com/sandbox/FormAndCookie.asp
5 | Content-Length: 0
6 |
7 |
--------------------------------------------------------------------------------
/Fiddler.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/Tools/JXR2PNG.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # [停止维护-不再更新汉化]
2 | `5.0.20202.18177` 是最后一个汉化的版本,汉化版本熟悉后完全可以上手英文版。
3 |
4 | ## 欢迎使用 Fiddler Web Debugger中文版
5 | ## 汉化更新
6 | + 2020年04月26日升级至官方 `5.0.20202.18177`
7 | ## 下载方法
8 | + 直接克隆本项目或者在`releases`中下载打包好的压缩包
9 | ## 修改处理
10 | + 修改启动画面。
11 | + 去除通过WinConfig启动签名自校验。
12 | + Fiddler ScriptEditor 编辑器绿化。
13 | ## 插件说明
14 | ~~~
15 | EnableLoopback.exe 用于捕获UWP应用(win8/8.1/10应用商店内的软件)
16 | FiddlerCap.exe (单独用来捕获流量的软件)
17 | ToE.dll (Fillder请求一键生成易语言代码)
18 | FiddlerCheck.dll(已不提供更新检查)
19 | ~~~
20 | ## 使用异常
21 | + 如出现启动出错,请安装`.net framework 4.6.1`
22 | ## 闲言碎语
23 | + 如果你熟悉使用方法后也推荐尝试英文版。
24 | + 最后感谢各位土豪的打赏支持!
25 |
--------------------------------------------------------------------------------
/ResponseTemplates/403_AuthDeny.dat:
--------------------------------------------------------------------------------
1 | HTTP/1.1 403 Access Denied
2 | FiddlerTemplate: True
3 | Date: Fri, 25 Jan 2013 16:49:29 GMT
4 | Content-Length: 520
5 |
6 | Fiddler: HTTP/403 Access Denied.
--------------------------------------------------------------------------------
/ResponseTemplates/404_Plain.dat:
--------------------------------------------------------------------------------
1 | HTTP/1.1 404 Not Found
2 | FiddlerTemplate: True
3 | Date: Fri, 25 Jan 2013 16:49:29 GMT
4 | Content-Type: text/html
5 | Content-Length: 520
6 |
7 | Fiddler: HTTP/404 Not Found
--------------------------------------------------------------------------------
/ResponseTemplates/502_Unreachable.dat:
--------------------------------------------------------------------------------
1 | HTTP/1.1 502 Unreachable Server
2 | Date: Fri, 25 Jan 2013 16:49:29 GMT
3 | FiddlerTemplate: True
4 | Content-Type: text/html
5 | Content-Length: 520
6 |
7 | Fiddler: HTTP/502 unreachable server.
--------------------------------------------------------------------------------
/ResponseTemplates/401_AuthBasic.dat:
--------------------------------------------------------------------------------
1 | HTTP/1.1 401 Authentication Required
2 | FiddlerTemplate: True
3 | Date: Fri, 25 Jan 2013 16:49:29 GMT
4 | WWW-Authenticate: Basic realm="Fiddler"
5 | Content-Type: text/html
6 | Content-Length: 520
7 |
8 | Fiddler: HTTP/401 Basic Server Auth Required.
--------------------------------------------------------------------------------
/ResponseTemplates/407_ProxyAuthBasic.dat:
--------------------------------------------------------------------------------
1 | HTTP/1.1 407 Proxy Auth Required
2 | FiddlerTemplate: True
3 | Date: Fri, 25 Jan 2013 16:49:29 GMT
4 | Proxy-Authenticate: Basic realm="Fiddler (just hit Ok)"
5 | Content-Type: text/html
6 | Content-Length: 520
7 |
8 | Fiddler: HTTP/407 Proxy Auth Required.
--------------------------------------------------------------------------------
/ResponseTemplates/401_AuthDigest.dat:
--------------------------------------------------------------------------------
1 | HTTP/1.1 401 Authentication Required
2 | FiddlerTemplate: True
3 | Date: Fri, 25 Jan 2013 16:49:29 GMT
4 | WWW-Authenticate: Digest realm="realm@example.com",qop="auth,auth-int",nonce="dcd98b7102dd2f0e8b11d0f600bfb0c093",opaque="5ccc069c403ebaf9f0171e9517f40e41"
5 | Content-Type: text/html
6 | Content-Length: 520
7 |
8 | Fiddler: HTTP/401 Digest Server Auth Required.
--------------------------------------------------------------------------------
/Scripts/SampleRules.js:
--------------------------------------------------------------------------------
1 | import System;
2 | import System.Windows.Forms;
3 | import Fiddler;
4 |
5 | // INTRODUCTION
6 | //
7 | // Well, hello there!
8 | //
9 | // Don't be scared! :-)
10 | //
11 | // This is the FiddlerScript Rules file, which creates some of the menu commands and
12 | // other features of Fiddler. You can edit this file to modify or add new commands.
13 | //
14 | // The original version of this file is named SampleRules.js and it is in the
15 | // \Program Files\Fiddler\ folder. When Fiddler first runs, it creates a copy named
16 | // CustomRules.js inside your \Documents\Fiddler2\Scripts folder. If you make a
17 | // mistake in editing this file, simply delete the CustomRules.js file and restart
18 | // Fiddler. A fresh copy of the default rules will be created from the original
19 | // sample rules file.
20 |
21 | // The best way to edit this file is to install the FiddlerScript Editor, part of
22 | // the free SyntaxEditing addons. Get it here: http://fiddler2.com/r/?SYNTAXVIEWINSTALL
23 |
24 | // GLOBALIZATION NOTE: Save this file using UTF-8 Encoding.
25 |
26 | // JScript.NET Reference
27 | // http://fiddler2.com/r/?msdnjsnet
28 | //
29 | // FiddlerScript Reference
30 | // http://fiddler2.com/r/?fiddlerscriptcookbook
31 |
32 | class Handlers
33 | {
34 | // *****************
35 | //
36 | // This is the Handlers class. Pretty much everything you ever add to FiddlerScript
37 | // belongs right inside here, or inside one of the already-existing functions below.
38 | //
39 | // *****************
40 |
41 | // The following snippet demonstrates a custom-bound column for the Web Sessions list.
42 | // See http://fiddler2.com/r/?fiddlercolumns for more info
43 | /*
44 | public static BindUIColumn("Method", 60)
45 | function FillMethodColumn(oS: Session): String {
46 | return oS.RequestMethod;
47 | }
48 | */
49 |
50 | // The following snippet demonstrates how to create a custom tab that shows simple text
51 | /*
52 | public BindUITab("Flags")
53 | static function FlagsReport(arrSess: Session[]):String {
54 | var oSB: System.Text.StringBuilder = new System.Text.StringBuilder();
55 | for (var i:int = 0; i-1)) { // Case sensitive
164 | oSession.url = oSession.url.Replace(gs_ReplaceToken, gs_ReplaceTokenWith);
165 | }
166 | if ((null != gs_OverridenHost) && (oSession.host.toLowerCase() == gs_OverridenHost)) {
167 | oSession["x-overridehost"] = gs_OverrideHostWith;
168 | }
169 |
170 | if ((null!=bpRequestURI) && oSession.uriContains(bpRequestURI)) {
171 | oSession["x-breakrequest"]="uri";
172 | }
173 |
174 | if ((null!=bpMethod) && (oSession.HTTPMethodIs(bpMethod))) {
175 | oSession["x-breakrequest"]="method";
176 | }
177 |
178 | if ((null!=uiBoldURI) && oSession.uriContains(uiBoldURI)) {
179 | oSession["ui-bold"]="QuickExec";
180 | }
181 |
182 | if (m_SimulateModem) {
183 | // Delay sends by 300ms per KB uploaded.
184 | oSession["request-trickle-delay"] = "300";
185 | // Delay receives by 150ms per KB downloaded.
186 | oSession["response-trickle-delay"] = "150";
187 | }
188 |
189 | if (m_DisableCaching) {
190 | oSession.oRequest.headers.Remove("If-None-Match");
191 | oSession.oRequest.headers.Remove("If-Modified-Since");
192 | oSession.oRequest["Pragma"] = "no-cache";
193 | }
194 |
195 | // User-Agent Overrides
196 | if (null != sUA) {
197 | oSession.oRequest["User-Agent"] = sUA;
198 | }
199 |
200 | if (m_Japanese) {
201 | oSession.oRequest["Accept-Language"] = "ja";
202 | }
203 |
204 | if (m_AutoAuth) {
205 | // Automatically respond to any authentication challenges using the
206 | // current Fiddler user's credentials. You can change (default)
207 | // to a domain\\username:password string if preferred.
208 | //
209 | // WARNING: This setting poses a security risk if remote
210 | // connections are permitted!
211 | oSession["X-AutoAuth"] = "(default)";
212 | }
213 |
214 | if (m_AlwaysFresh && (oSession.oRequest.headers.Exists("If-Modified-Since") || oSession.oRequest.headers.Exists("If-None-Match")))
215 | {
216 | oSession.utilCreateResponseAndBypassServer();
217 | oSession.responseCode = 304;
218 | oSession["ui-backcolor"] = "Lavender";
219 | }
220 | }
221 |
222 | // This function is called immediately after a set of request headers has
223 | // been read from the client. This is typically too early to do much useful
224 | // work, since the body hasn't yet been read, but sometimes it may be useful.
225 | //
226 | // For instance, see
227 | // http://blogs.msdn.com/b/fiddler/archive/2011/11/05/http-expect-continue-delays-transmitting-post-bodies-by-up-to-350-milliseconds.aspx
228 | // for one useful thing you can do with this handler.
229 | //
230 | // Note: oSession.requestBodyBytes is not available within this function!
231 | /*
232 | static function OnPeekAtRequestHeaders(oSession: Session) {
233 | var sProc = ("" + oSession["x-ProcessInfo"]).ToLower();
234 | if (!sProc.StartsWith("mylowercaseappname")) oSession["ui-hide"] = "NotMyApp";
235 | }
236 | */
237 |
238 | //
239 | // If a given session has response streaming enabled, then the OnBeforeResponse function
240 | // is actually called AFTER the response was returned to the client.
241 | //
242 | // In contrast, this OnPeekAtResponseHeaders function is called before the response headers are
243 | // sent to the client (and before the body is read from the server). Hence this is an opportune time
244 | // to disable streaming (oSession.bBufferResponse = true) if there is something in the response headers
245 | // which suggests that tampering with the response body is necessary.
246 | //
247 | // Note: oSession.responseBodyBytes is not available within this function!
248 | //
249 | static function OnPeekAtResponseHeaders(oSession: Session) {
250 | //FiddlerApplication.Log.LogFormat("Session {0}: Response header peek shows status is {1}", oSession.id, oSession.responseCode);
251 | if (m_DisableCaching) {
252 | oSession.oResponse.headers.Remove("Expires");
253 | oSession.oResponse["Cache-Control"] = "no-cache";
254 | }
255 |
256 | if ((bpStatus>0) && (oSession.responseCode == bpStatus)) {
257 | oSession["x-breakresponse"]="status";
258 | oSession.bBufferResponse = true;
259 | }
260 |
261 | if ((null!=bpResponseURI) && oSession.uriContains(bpResponseURI)) {
262 | oSession["x-breakresponse"]="uri";
263 | oSession.bBufferResponse = true;
264 | }
265 |
266 | }
267 |
268 | static function OnBeforeResponse(oSession: Session) {
269 | if (m_Hide304s && oSession.responseCode == 304) {
270 | oSession["ui-hide"] = "true";
271 | }
272 | }
273 |
274 | /*
275 | // This function executes just before Fiddler returns an error that it has
276 | // itself generated (e.g. "DNS Lookup failure") to the client application.
277 | // These responses will not run through the OnBeforeResponse function above.
278 | static function OnReturningError(oSession: Session) {
279 | }
280 | */
281 | /*
282 | // This function executes after Fiddler finishes processing a Session, regardless
283 | // of whether it succeeded or failed. Note that this typically runs AFTER the last
284 | // update of the Web Sessions UI listitem, so you must manually refresh the Session's
285 | // UI if you intend to change it.
286 | static function OnDone(oSession: Session) {
287 | }
288 | */
289 |
290 | /*
291 | static function OnBoot() {
292 | MessageBox.Show("Fiddler has finished booting");
293 | System.Diagnostics.Process.Start("iexplore.exe");
294 |
295 | UI.ActivateRequestInspector("HEADERS");
296 | UI.ActivateResponseInspector("HEADERS");
297 | }
298 | */
299 |
300 | /*
301 | static function OnBeforeShutdown(): Boolean {
302 | // Return false to cancel shutdown.
303 | return ((0 == FiddlerApplication.UI.lvSessions.TotalItemCount()) ||
304 | (DialogResult.Yes == MessageBox.Show("Allow Fiddler to exit?", "Go Bye-bye?",
305 | MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2)));
306 | }
307 | */
308 |
309 | /*
310 | static function OnShutdown() {
311 | MessageBox.Show("Fiddler has shutdown");
312 | }
313 | */
314 |
315 | /*
316 | static function OnAttach() {
317 | MessageBox.Show("Fiddler is now the system proxy");
318 | }
319 | */
320 |
321 | /*
322 | static function OnDetach() {
323 | MessageBox.Show("Fiddler is no longer the system proxy");
324 | }
325 | */
326 |
327 | // The Main() function runs everytime your FiddlerScript compiles
328 | static function Main() {
329 | var today: Date = new Date();
330 | FiddlerObject.StatusText = " CustomRules.js 加载在: " + today;
331 |
332 | // Uncomment to add a "Server" column containing the response "Server" header, if present
333 | // UI.lvSessions.AddBoundColumn("Server", 50, "@response.server");
334 |
335 | // Uncomment to add a global hotkey (Win+G) that invokes the ExecAction method below...
336 | // UI.RegisterCustomHotkey(HotkeyModifiers.Windows, Keys.G, "screenshot");
337 | }
338 |
339 | // These static variables are used for simple breakpointing & other QuickExec rules
340 | BindPref("fiddlerscript.ephemeral.bpRequestURI")
341 | public static var bpRequestURI:String = null;
342 |
343 | BindPref("fiddlerscript.ephemeral.bpResponseURI")
344 | public static var bpResponseURI:String = null;
345 |
346 | BindPref("fiddlerscript.ephemeral.bpMethod")
347 | public static var bpMethod: String = null;
348 |
349 | static var bpStatus:int = -1;
350 | static var uiBoldURI: String = null;
351 | static var gs_ReplaceToken: String = null;
352 | static var gs_ReplaceTokenWith: String = null;
353 | static var gs_OverridenHost: String = null;
354 | static var gs_OverrideHostWith: String = null;
355 |
356 | // The OnExecAction function is called by either the QuickExec box in the Fiddler window,
357 | // or by the ExecAction.exe command line utility.
358 | static function OnExecAction(sParams: String[]): Boolean {
359 |
360 | FiddlerObject.StatusText = "ExecAction: " + sParams[0];
361 |
362 | var sAction = sParams[0].toLowerCase();
363 | switch (sAction) {
364 | case "bold":
365 | if (sParams.Length<2) {uiBoldURI=null; FiddlerObject.StatusText="Bolding cleared"; return false;}
366 | uiBoldURI = sParams[1]; FiddlerObject.StatusText="Bolding requests for " + uiBoldURI;
367 | return true;
368 | case "bp":
369 | FiddlerObject.alert("bpu = breakpoint request for uri\nbpm = breakpoint request method\nbps=breakpoint response status\nbpafter = breakpoint response for URI");
370 | return true;
371 | case "bps":
372 | if (sParams.Length<2) {bpStatus=-1; FiddlerObject.StatusText="Response Status breakpoint cleared"; return false;}
373 | bpStatus = parseInt(sParams[1]); FiddlerObject.StatusText="Response status breakpoint for " + sParams[1];
374 | return true;
375 | case "bpv":
376 | case "bpm":
377 | if (sParams.Length<2) {bpMethod=null; FiddlerObject.StatusText="Request Method breakpoint cleared"; return false;}
378 | bpMethod = sParams[1].toUpperCase(); FiddlerObject.StatusText="Request Method breakpoint for " + bpMethod;
379 | return true;
380 | case "bpu":
381 | if (sParams.Length<2) {bpRequestURI=null; FiddlerObject.StatusText="RequestURI breakpoint cleared"; return false;}
382 | bpRequestURI = sParams[1];
383 | FiddlerObject.StatusText="RequestURI breakpoint for "+sParams[1];
384 | return true;
385 | case "bpa":
386 | case "bpafter":
387 | if (sParams.Length<2) {bpResponseURI=null; FiddlerObject.StatusText="ResponseURI breakpoint cleared"; return false;}
388 | bpResponseURI = sParams[1];
389 | FiddlerObject.StatusText="ResponseURI breakpoint for "+sParams[1];
390 | return true;
391 | case "overridehost":
392 | if (sParams.Length<3) {gs_OverridenHost=null; FiddlerObject.StatusText="Host Override cleared"; return false;}
393 | gs_OverridenHost = sParams[1].toLowerCase();
394 | gs_OverrideHostWith = sParams[2];
395 | FiddlerObject.StatusText="Connecting to [" + gs_OverrideHostWith + "] for requests to [" + gs_OverridenHost + "]";
396 | return true;
397 | case "urlreplace":
398 | if (sParams.Length<3) {gs_ReplaceToken=null; FiddlerObject.StatusText="URL Replacement cleared"; return false;}
399 | gs_ReplaceToken = sParams[1];
400 | gs_ReplaceTokenWith = sParams[2].Replace(" ", "%20"); // Simple helper
401 | FiddlerObject.StatusText="Replacing [" + gs_ReplaceToken + "] in URIs with [" + gs_ReplaceTokenWith + "]";
402 | return true;
403 | case "allbut":
404 | case "keeponly":
405 | if (sParams.Length<2) { FiddlerObject.StatusText="Please specify Content-Type to retain during wipe."; return false;}
406 | UI.actSelectSessionsWithResponseHeaderValue("Content-Type", sParams[1]);
407 | UI.actRemoveUnselectedSessions();
408 | UI.lvSessions.SelectedItems.Clear();
409 | FiddlerObject.StatusText="Removed all but Content-Type: " + sParams[1];
410 | return true;
411 | case "stop":
412 | UI.actDetachProxy();
413 | return true;
414 | case "start":
415 | UI.actAttachProxy();
416 | return true;
417 | case "cls":
418 | case "clear":
419 | UI.actRemoveAllSessions();
420 | return true;
421 | case "g":
422 | case "go":
423 | UI.actResumeAllSessions();
424 | return true;
425 | case "goto":
426 | if (sParams.Length != 2) return false;
427 | Utilities.LaunchHyperlink("http://www.google.com/search?hl=en&btnI=I%27m+Feeling+Lucky&q=" + Utilities.UrlEncode(sParams[1]));
428 | return true;
429 | case "help":
430 | Utilities.LaunchHyperlink("http://fiddler2.com/r/?quickexec");
431 | return true;
432 | case "hide":
433 | UI.actMinimizeToTray();
434 | return true;
435 | case "log":
436 | FiddlerApplication.Log.LogString((sParams.Length<2) ? "User couldn't think of anything to say..." : sParams[1]);
437 | return true;
438 | case "nuke":
439 | UI.actClearWinINETCache();
440 | UI.actClearWinINETCookies();
441 | return true;
442 | case "screenshot":
443 | UI.actCaptureScreenshot(false);
444 | return true;
445 | case "show":
446 | UI.actRestoreWindow();
447 | return true;
448 | case "tail":
449 | if (sParams.Length<2) { FiddlerObject.StatusText="Please specify # of sessions to trim the session list to."; return false;}
450 | UI.TrimSessionList(int.Parse(sParams[1]));
451 | return true;
452 | case "quit":
453 | UI.actExit();
454 | return true;
455 | case "dump":
456 | UI.actSelectAll();
457 | UI.actSaveSessionsToZip(CONFIG.GetPath("Captures") + "dump.saz");
458 | UI.actRemoveAllSessions();
459 | FiddlerObject.StatusText = "Dumped all sessions to " + CONFIG.GetPath("Captures") + "dump.saz";
460 | return true;
461 |
462 | default:
463 | if (sAction.StartsWith("http") || sAction.StartsWith("www.")) {
464 | System.Diagnostics.Process.Start(sParams[0]);
465 | return true;
466 | }
467 | else
468 | {
469 | FiddlerObject.StatusText = "Requested ExecAction: '" + sAction + "' not found. Type HELP to learn more.";
470 | return false;
471 | }
472 | }
473 | }
474 | }
--------------------------------------------------------------------------------
/Scripts/SampleRules.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Fiddler;
3 | using System.Text;
4 | using System.Windows.Forms;
5 | using System.Collections;
6 | using System.Collections.Generic;
7 |
8 | // INTRODUCTION
9 | // This is the FiddlerScript Rules file, which creates some of the menu commands and
10 | // other features of Fiddler. You can edit this file to modify or add new commands.
11 | //
12 | // NOTE: This is the C# version of the script, which can be used on Windows and Mono,
13 | // unlike the JScript.NET script, which can be used only on Windows. In order to use
14 | // a JScript.NET script on Mono, you must rewrite it in C#.
15 | //
16 | // The original version of this file is named SampleRules.cs and it is in the
17 | // \Fiddler\ app folder. When Fiddler first starts, it creates a copy named
18 | // CustomRules.cs inside your \Documents\Fiddler2\Scripts folder. If you make a
19 | // mistake in editing this file, simply delete the CustomRules.cs file and restart
20 | // Fiddler. A fresh copy of the default rules will be created from the original
21 | // sample rules file.
22 |
23 | namespace Fiddler
24 | {
25 | public static class Handlers
26 | {
27 | // The following snippet demonstrates a custom-bound column for the Web Sessions list.
28 | // See http://fiddler2.com/r/?fiddlercolumns for more info
29 | /*
30 | [BindUIColumn("Method", 60)]
31 | public static string FillMethodColumn(Session oS)
32 | {
33 | return oS.RequestMethod;
34 | }
35 | */
36 |
37 | // The following snippet demonstrates how to create a custom tab that shows simple text
38 | /*
39 | [BindUITab("Flags")]
40 | public static string FlagsReport(Session[] arrSess)
41 | {
42 | StringBuilder oSB = new StringBuilder();
43 | for (int i = 0; i < arrSess.Length; i++)
44 | {
45 | oSB.AppendLine("SESSION FLAGS");
46 | oSB.AppendFormat("{0}: {1}\n", arrSess[i].id, arrSess[i].fullUrl);
47 | foreach(DictionaryEntry sFlag in arrSess[i].oFlags)
48 | {
49 | oSB.AppendFormat("\t{0}:\t\t{1}\n", sFlag.Key, sFlag.Value);
50 | }
51 | }
52 |
53 | return oSB.ToString();
54 | }
55 | */
56 |
57 | // You can create a custom menu like so:
58 | /*
59 | [QuickLinkMenu("&Links")]
60 | [QuickLinkItem("IE GeoLoc TestDrive", "http://ie.microsoft.com/testdrive/HTML5/Geolocation/Default.html")]
61 | [QuickLinkItem("FiddlerCore", "http://fiddler2.com/fiddlercore")]
62 | public static void DoLinksMenu(string sText, string sAction)
63 | {
64 | Utilities.LaunchHyperlink(sAction);
65 | }
66 | */
67 |
68 | [RulesOption("Hide 304s")]
69 | [BindPref("fiddlerscript.rules.Hide304s")]
70 | public static bool m_Hide304s = false;
71 |
72 | // Cause Fiddler to override the Accept-Language header with one of the defined values
73 | [RulesOption("Request &Japanese Content")]
74 | public static bool m_Japanese = false;
75 |
76 | // Automatic Authentication
77 | [RulesOption("&Automatically Authenticate")]
78 | [BindPref("fiddlerscript.rules.AutoAuth")]
79 | public static bool m_AutoAuth = false;
80 |
81 | // Cause Fiddler to override the User-Agent header with one of the defined values
82 | [RulesString("&User-Agents", true)]
83 | [BindPref("fiddlerscript.ephemeral.UserAgentString")]
84 | [RulesStringValue(0, "Netscape &3", "Mozilla/3.0 (Win95; I)")]
85 | [RulesStringValue(1, "WinPhone8.1", "Mozilla/5.0 (Mobile; Windows Phone 8.1; Android 4.0; ARM; Trident/7.0; Touch; rv:11.0; IEMobile/11.0; NOKIA; Lumia 520) like iPhone OS 7_0_3 Mac OS X AppleWebKit/537 (KHTML, like Gecko) Mobile Safari/537")]
86 | [RulesStringValue(2, "&Safari5 (Win7)", "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.21.1 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1")]
87 | [RulesStringValue(3, "Safari9 (Mac)", "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11) AppleWebKit/601.1.56 (KHTML, like Gecko) Version/9.0 Safari/601.1.56")]
88 | [RulesStringValue(4, "iPad", "Mozilla/5.0 (iPad; CPU OS 8_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12F5027d Safari/600.1.4")]
89 | [RulesStringValue(5, "iPhone6", "Mozilla/5.0 (iPhone; CPU iPhone OS 8_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12F70 Safari/600.1.4")]
90 | [RulesStringValue(6, "IE &6 (XPSP2)", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)")]
91 | [RulesStringValue(7, "IE &7 (Vista)", "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1)")]
92 | [RulesStringValue(8, "IE 8 (Win2k3 x64)", "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; WOW64; Trident/4.0)")]
93 | [RulesStringValue(9, "IE &8 (Win7)", "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0)")]
94 | [RulesStringValue(10, "IE 9 (Win7)", "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)")]
95 | [RulesStringValue(11, "IE 10 (Win8)", "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0)")]
96 | [RulesStringValue(12, "IE 11 (Surface2)", "Mozilla/5.0 (Windows NT 6.3; ARM; Trident/7.0; Touch; rv:11.0) like Gecko")]
97 | [RulesStringValue(13, "IE 11 (Win8.1)", "Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko")]
98 | [RulesStringValue(14, "Edge (Win10)", "Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.11082")]
99 | [RulesStringValue(15, "&Opera", "Opera/9.80 (Windows NT 6.2; WOW64) Presto/2.12.388 Version/12.17")]
100 | [RulesStringValue(16, "&Firefox 3.6", "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.7) Gecko/20100625 Firefox/3.6.7")]
101 | [RulesStringValue(17, "&Firefox 43", "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0")]
102 | [RulesStringValue(18, "&Firefox Phone", "Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0")]
103 | [RulesStringValue(19, "&Firefox (Mac)", "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Firefox/24.0")]
104 | [RulesStringValue(20, "Chrome (Win)", "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.48 Safari/537.36")]
105 | [RulesStringValue(21, "Chrome (Android)", "Mozilla/5.0 (Linux; Android 5.1.1; Nexus 5 Build/LMY48B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.78 Mobile Safari/537.36")]
106 | [RulesStringValue(22, "ChromeBook", "Mozilla/5.0 (X11; CrOS x86_64 6680.52.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.74 Safari/537.36")]
107 | [RulesStringValue(23, "GoogleBot Crawler", "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)")]
108 | [RulesStringValue(24, "Kindle Fire (Silk)", "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us; Silk/1.0.22.79_10013310) AppleWebKit/533.16 (KHTML, like Gecko) Version/5.0 Safari/533.16 Silk-Accelerated=true")]
109 | [RulesStringValue(25, "&Custom...", "%CUSTOM%")]
110 | public static string sUA = null;
111 |
112 | // Cause Fiddler to delay HTTP traffic to simulate typical 56k modem conditions
113 | [RulesOption("Simulate &Modem Speeds", "Per&formance")]
114 | public static bool m_SimulateModem = false;
115 |
116 | // Removes HTTP-caching related headers and specifies "no-cache" on requests and responses
117 | [RulesOption("&Disable Caching", "Per&formance")]
118 | public static bool m_DisableCaching = false;
119 |
120 | [RulesOption("Cache Always &Fresh", "Per&formance")]
121 | public static bool m_AlwaysFresh = false;
122 |
123 | // Force a manual reload of the script file. Resets all
124 | // RulesOption variables to their defaults.
125 | [ToolsAction("Reset Script")]
126 | public static void DoManualReload()
127 | {
128 | FiddlerObject.ReloadScript();
129 | }
130 |
131 | [ContextAction("Decode Selected Sessions")]
132 | public static void DoRemoveEncoding(Session[] arrSessions)
133 | {
134 | for (int x = 0; x < arrSessions.Length; x++)
135 | {
136 | arrSessions[x].utilDecodeRequest();
137 | arrSessions[x].utilDecodeResponse();
138 | }
139 |
140 | FiddlerApplication.UI.actUpdateInspector(true,true);
141 | }
142 |
143 | public static void OnBeforeRequest(Session oSession)
144 | {
145 | // Sample Rule: Color ASPX requests in RED
146 | // if (oSession.uriContains(".aspx")) { oSession["ui-color"] = "red"; }
147 |
148 | // Sample Rule: Flag POSTs to fiddler2.com in italics
149 | // if (oSession.HostnameIs("www.fiddler2.com") && oSession.HTTPMethodIs("POST")) { oSession["ui-italic"] = "yup"; }
150 |
151 | // Sample Rule: Break requests for URLs containing "/sandbox/"
152 | // if (oSession.uriContains("/sandbox/")) {
153 | // oSession.oFlags["x-breakrequest"] = "yup"; // Existence of the x-breakrequest flag creates a breakpoint; the "yup" value is unimportant.
154 | // }
155 |
156 | if ((null != gs_ReplaceToken) && (oSession.url.IndexOf(gs_ReplaceToken)>-1)) // Case sensitive
157 | {
158 | oSession.url = oSession.url.Replace(gs_ReplaceToken, gs_ReplaceTokenWith);
159 | }
160 |
161 | if ((null != gs_OverridenHost) && (oSession.host.ToLower() == gs_OverridenHost))
162 | {
163 | oSession["x-overridehost"] = gs_OverrideHostWith;
164 | }
165 |
166 | if ((null!=bpRequestURI) && oSession.uriContains(bpRequestURI))
167 | {
168 | oSession["x-breakrequest"]="uri";
169 | }
170 |
171 | if ((null!=bpMethod) && (oSession.HTTPMethodIs(bpMethod)))
172 | {
173 | oSession["x-breakrequest"]="method";
174 | }
175 |
176 | if ((null!=uiBoldURI) && oSession.uriContains(uiBoldURI))
177 | {
178 | oSession["ui-bold"]="QuickExec";
179 | }
180 |
181 | if (m_SimulateModem)
182 | {
183 | // Delay sends by 300ms per KB uploaded.
184 | oSession["request-trickle-delay"] = "300";
185 | // Delay receives by 150ms per KB downloaded.
186 | oSession["response-trickle-delay"] = "150";
187 | }
188 |
189 | if (m_DisableCaching)
190 | {
191 | oSession.oRequest.headers.Remove("If-None-Match");
192 | oSession.oRequest.headers.Remove("If-Modified-Since");
193 | oSession.oRequest["Pragma"] = "no-cache";
194 | }
195 |
196 | // User-Agent Overrides
197 | if (null != sUA)
198 | {
199 | oSession.oRequest["User-Agent"] = sUA;
200 | }
201 |
202 | if (m_Japanese)
203 | {
204 | oSession.oRequest["Accept-Language"] = "ja";
205 | }
206 |
207 | if (m_AutoAuth)
208 | {
209 | // Automatically respond to any authentication challenges using the
210 | // current Fiddler user's credentials. You can change (default)
211 | // to a domain\\username:password string if preferred.
212 | //
213 | // WARNING: This setting poses a security risk if remote
214 | // connections are permitted!
215 | oSession["X-AutoAuth"] = "(default)";
216 | }
217 |
218 | if (m_AlwaysFresh && (oSession.oRequest.headers.Exists("If-Modified-Since") || oSession.oRequest.headers.Exists("If-None-Match")))
219 | {
220 | oSession.utilCreateResponseAndBypassServer();
221 | oSession.responseCode = 304;
222 | oSession["ui-backcolor"] = "Lavender";
223 | }
224 | }
225 |
226 | // This function is called immediately after a set of request headers has
227 | // been read from the client. This is typically too early to do much useful
228 | // work, since the body hasn't yet been read, but sometimes it may be useful.
229 | //
230 | // For instance, see
231 | // http://blogs.msdn.com/b/fiddler/archive/2011/11/05/http-expect-continue-delays-transmitting-post-bodies-by-up-to-350-milliseconds.aspx
232 | // for one useful thing you can do with this handler.
233 | //
234 | // Note: oSession.requestBodyBytes is not available within this function!
235 | /*
236 | public static void OnPeekAtRequestHeaders(Session oSession)
237 | {
238 | string sProc = oSession["x-ProcessInfo"].ToLower();
239 | if (!sProc.StartsWith("mylowercaseappname")) oSession["ui-hide"] = "NotMyApp";
240 | }
241 | */
242 |
243 | //
244 | // If a given session has response streaming enabled, then the OnBeforeResponse function
245 | // is actually called AFTER the response was returned to the client.
246 | //
247 | // In contrast, this OnPeekAtResponseHeaders function is called before the response headers are
248 | // sent to the client (and before the body is read from the server). Hence this is an opportune time
249 | // to disable streaming (oSession.bBufferResponse = true) if there is something in the response headers
250 | // which suggests that tampering with the response body is necessary.
251 | //
252 | // Note: oSession.responseBodyBytes is not available within this function!
253 | //
254 | public static void OnPeekAtResponseHeaders(Session oSession)
255 | {
256 | //FiddlerApplication.Log.LogFormat("Session {0}: Response header peek shows status is {1}", oSession.id, oSession.responseCode);
257 | if (m_DisableCaching)
258 | {
259 | oSession.oResponse.headers.Remove("Expires");
260 | oSession.oResponse["Cache-Control"] = "no-cache";
261 | }
262 |
263 | if ((bpStatus>0) && (oSession.responseCode == bpStatus))
264 | {
265 | oSession["x-breakresponse"]="status";
266 | oSession.bBufferResponse = true;
267 | }
268 |
269 | if ((null!=bpResponseURI) && oSession.uriContains(bpResponseURI))
270 | {
271 | oSession["x-breakresponse"]="uri";
272 | oSession.bBufferResponse = true;
273 | }
274 | }
275 |
276 | public static void OnBeforeResponse(Session oSession)
277 | {
278 | if (m_Hide304s && oSession.responseCode == 304)
279 | {
280 | oSession["ui-hide"] = "true";
281 | }
282 | }
283 |
284 | // This function executes just before Fiddler returns an error that it has
285 | // itself generated (e.g. "DNS Lookup failure") to the client application.
286 | // These responses will not run through the OnBeforeResponse function above.
287 | /*
288 | static void OnReturningError(Session oSession)
289 | {
290 | }
291 | */
292 |
293 | // This function executes after Fiddler finishes processing a Session, regardless
294 | // of whether it succeeded or failed. Note that this typically runs AFTER the last
295 | // update of the Web Sessions UI listitem, so you must manually refresh the Session's
296 | // UI if you intend to change it.
297 | /*
298 | static void OnDone(Session oSession)
299 | {
300 | }
301 | */
302 |
303 | /*
304 | public static void OnBoot()
305 | {
306 | }
307 | */
308 |
309 | /*
310 | public static bool OnBeforeShutdown()
311 | {
312 | // Return false to cancel shutdown.
313 | return ((0 == FiddlerApplication.UI.lvSessions.TotalItemCount()) ||
314 | (DialogResult.Yes == MessageBox.Show("Allow Fiddler to exit?", "Go Bye-bye?",
315 | MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2)));
316 | }
317 | */
318 |
319 | /*
320 | public static void OnShutdown()
321 | {
322 | MessageBox.Show("Fiddler has shutdown");
323 | }
324 | */
325 |
326 | /*
327 | public static void OnAttach()
328 | {
329 | MessageBox.Show("Fiddler is now the system proxy");
330 | }
331 | */
332 |
333 | /*
334 | public static void OnDetach()
335 | {
336 | MessageBox.Show("Fiddler is no longer the system proxy");
337 | }
338 | */
339 |
340 | // The Main() function runs everytime your FiddlerScript compiles
341 | public static void Main()
342 | {
343 | string today = DateTime.Now.ToShortTimeString();
344 | FiddlerApplication.UI.SetStatusText(" CustomRules.cs was loaded at: " + today);
345 |
346 | // Uncomment to add a "Server" column containing the response "Server" header, if present
347 | // FiddlerApplication.UI.lvSessions.AddBoundColumn("Server", 50, "@response.server");
348 |
349 | // Uncomment to add a global hotkey (Win+G) that invokes the ExecAction method below...
350 | // FiddlerApplication.UI.RegisterCustomHotkey(HotkeyModifiers.Windows, Keys.G, "screenshot");
351 | }
352 |
353 | // These static variables are used for simple breakpointing & other QuickExec rules
354 | [BindPref("fiddlerscript.ephemeral.bpRequestURI")]
355 | public static string bpRequestURI = null;
356 |
357 | [BindPref("fiddlerscript.ephemeral.bpResponseURI")]
358 | public static string bpResponseURI = null;
359 |
360 | [BindPref("fiddlerscript.ephemeral.bpMethod")]
361 | public static string bpMethod = null;
362 |
363 | static int bpStatus = -1;
364 | static string uiBoldURI = null;
365 | static string gs_ReplaceToken = null;
366 | static string gs_ReplaceTokenWith = null;
367 | static string gs_OverridenHost = null;
368 | static string gs_OverrideHostWith = null;
369 |
370 | // The OnExecAction function is called by either the QuickExec box in the Fiddler window,
371 | // or by the ExecAction.exe command line utility.
372 | public static bool OnExecAction(string[] sParams)
373 | {
374 | FiddlerApplication.UI.SetStatusText("ExecAction: " + sParams[0]);
375 | string sAction = sParams[0].ToLower();
376 | switch (sAction)
377 | {
378 | case "bold":
379 | if (sParams.Length<2) {uiBoldURI=null; FiddlerApplication.UI.SetStatusText("Bolding cleared"); return false;}
380 | uiBoldURI = sParams[1]; FiddlerApplication.UI.SetStatusText("Bolding requests for " + uiBoldURI);
381 | return true;
382 | case "bp":
383 | MessageBox.Show("bpu = breakpoint request for uri\nbpm = breakpoint request method\nbps=breakpoint response status\nbpafter = breakpoint response for URI");
384 | return true;
385 | case "bps":
386 | if (sParams.Length<2) {bpStatus=-1; FiddlerApplication.UI.SetStatusText("Response Status breakpoint cleared"); return false;}
387 | bpStatus = Int32.Parse(sParams[1]); FiddlerApplication.UI.SetStatusText("Response status breakpoint for " + sParams[1]);
388 | return true;
389 | case "bpv":
390 | case "bpm":
391 | if (sParams.Length<2) {bpMethod=null; FiddlerApplication.UI.SetStatusText("Request Method breakpoint cleared"); return false;}
392 | bpMethod = sParams[1].ToUpper(); FiddlerApplication.UI.SetStatusText("Request Method breakpoint for " + bpMethod);
393 | return true;
394 | case "bpu":
395 | if (sParams.Length<2) {bpRequestURI=null; FiddlerApplication.UI.SetStatusText("RequestURI breakpoint cleared"); return false;}
396 | bpRequestURI = sParams[1];
397 | FiddlerApplication.UI.SetStatusText("RequestURI breakpoint for "+sParams[1]);
398 | return true;
399 | case "bpa":
400 | case "bpafter":
401 | if (sParams.Length<2) {bpResponseURI=null; FiddlerApplication.UI.SetStatusText("ResponseURI breakpoint cleared"); return false;}
402 | bpResponseURI = sParams[1];
403 | FiddlerApplication.UI.SetStatusText("ResponseURI breakpoint for "+sParams[1]);
404 | return true;
405 | case "overridehost":
406 | if (sParams.Length<3) {gs_OverridenHost=null; FiddlerApplication.UI.SetStatusText("Host Override cleared"); return false;}
407 | gs_OverridenHost = sParams[1].ToLower();
408 | gs_OverrideHostWith = sParams[2];
409 | FiddlerApplication.UI.SetStatusText("Connecting to [" + gs_OverrideHostWith + "] for requests to [" + gs_OverridenHost + "]");
410 | return true;
411 | case "urlreplace":
412 | if (sParams.Length<3) {gs_ReplaceToken=null; FiddlerApplication.UI.SetStatusText("URL Replacement cleared"); return false;}
413 | gs_ReplaceToken = sParams[1];
414 | gs_ReplaceTokenWith = sParams[2].Replace(" ", "%20"); // Simple helper
415 | FiddlerApplication.UI.SetStatusText("Replacing [" + gs_ReplaceToken + "] in URIs with [" + gs_ReplaceTokenWith + "]");
416 | return true;
417 | case "allbut":
418 | case "keeponly":
419 | if (sParams.Length<2) { FiddlerApplication.UI.SetStatusText("Please specify Content-Type to retain during wipe."); return false;}
420 | FiddlerApplication.UI.actSelectSessionsWithResponseHeaderValue("Content-Type", sParams[1]);
421 | FiddlerApplication.UI.actRemoveUnselectedSessions();
422 | FiddlerApplication.UI.lvSessions.SelectedItems.Clear();
423 | FiddlerApplication.UI.SetStatusText("Removed all but Content-Type: " + sParams[1]);
424 | return true;
425 | case "stop":
426 | FiddlerApplication.UI.actDetachProxy();
427 | return true;
428 | case "start":
429 | FiddlerApplication.UI.actAttachProxy();
430 | return true;
431 | case "cls":
432 | case "clear":
433 | FiddlerApplication.UI.actRemoveAllSessions();
434 | return true;
435 | case "g":
436 | case "go":
437 | FiddlerApplication.UI.actResumeAllSessions();
438 | return true;
439 | case "goto":
440 | if (sParams.Length != 2) return false;
441 | Utilities.LaunchHyperlink("http://www.google.com/search?hl=en&btnI=I%27m+Feeling+Lucky&q=" + Utilities.UrlEncode(sParams[1]));
442 | return true;
443 | case "help":
444 | Utilities.LaunchHyperlink("http://fiddler2.com/r/?quickexec");
445 | return true;
446 | case "hide":
447 | FiddlerApplication.UI.actMinimizeToTray();
448 | return true;
449 | case "log":
450 | FiddlerApplication.Log.LogString((sParams.Length<2) ? "User couldn't think of anything to say..." : sParams[1]);
451 | return true;
452 | case "nuke":
453 | FiddlerApplication.UI.actClearWinINETCache();
454 | FiddlerApplication.UI.actClearWinINETCookies();
455 | return true;
456 | case "screenshot":
457 | FiddlerApplication.UI.actCaptureScreenshot(false);
458 | return true;
459 | case "show":
460 | FiddlerApplication.UI.actRestoreWindow();
461 | return true;
462 | case "tail":
463 | if (sParams.Length<2) { FiddlerApplication.UI.SetStatusText("Please specify # of sessions to trim the session list to."); return false;}
464 | FiddlerApplication.UI.TrimSessionList(int.Parse(sParams[1]));
465 | return true;
466 | case "quit":
467 | FiddlerApplication.UI.actExit();
468 | return true;
469 | case "dump":
470 | FiddlerApplication.UI.actSelectAll();
471 | FiddlerApplication.UI.actSaveSessionsToZip(CONFIG.GetPath("Captures") + "dump.saz");
472 | FiddlerApplication.UI.actRemoveAllSessions();
473 | FiddlerApplication.UI.SetStatusText("Dumped all sessions to " + CONFIG.GetPath("Captures") + "dump.saz");
474 | return true;
475 |
476 | default:
477 | if (sAction.StartsWith("http") || sAction.StartsWith("www"))
478 | {
479 | System.Diagnostics.Process.Start(sParams[0]);
480 | return true;
481 | }
482 | else
483 | {
484 | FiddlerApplication.UI.SetStatusText("Requested ExecAction: '" + sAction + "' not found. Type HELP to learn more.");
485 | return false;
486 | }
487 | }
488 | }
489 | }
490 | }
--------------------------------------------------------------------------------