資源簡介
Fiddler是一個http協議調試代理工具,它能夠記錄并檢查所有你的電腦和互聯網之間的http通訊,設置斷點,查看所有的“進出”Fiddler的數據(指cookie,html,js,css等文件)。 Fiddler 要比其他的網絡調試器要更加簡單,因為它不僅僅暴露http通訊還提供了一個用戶友好的格式。本版本親測可用。非商

代碼片段和文件信息
using?System;
using?Fiddler;
using?System.Text;
using?System.Windows.Forms;
using?System.Collections;
using?System.Collections.Generic;
//?INTRODUCTION
//?This?is?the?Fiddlerscript?Rules?file?which?creates?some?of?the?menu?commands?and
//?other?features?of?Fiddler.?You?can?edit?this?file?to?modify?or?add?new?commands.
//
//?NOTE:?This?is?the?C#?version?of?the?script?which?can?be?used?on?Windows?and?Mono
//?unlike?the?Jscript.NET?script?which?can?be?used?only?on?Windows.?In?order?to?use
//?a?Jscript.NET?script?on?Mono?you?must?rewrite?it?in?C#.
//
//?The?original?version?of?this?file?is?named?SampleRules.cs?and?it?is?in?the
//?\Fiddler\?app?folder.?When?Fiddler?first?starts?it?creates?a?copy?named
//?CustomRules.cs?inside?your?\Documents\Fiddler2\scripts?folder.?If?you?make?a?
//?mistake?in?editing?this?file?simply?delete?the?CustomRules.cs?file?and?restart
//?Fiddler.?A?fresh?copy?of?the?default?rules?will?be?created?from?the?original
//?sample?rules?file.
namespace?Fiddler
{
????public?static?class?Handlers?
????{
????????//?The?following?snippet?demonstrates?a?custom-bound?column?for?the?Web?Sessions?list.
????????//?See?http://fiddler2.com/r/?fiddlercolumns?for?more?info
????????/*
????????[BindUIColumn(“Method“?60)]
????????public?static?string?FillMethodColumn(Session?oS)
????????{
?????????return?oS.RequestMethod;
????????}
????????*/
????????//?The?following?snippet?demonstrates?how?to?create?a?custom?tab?that?shows?simple?text
????????/*
????????[BindUITab(“Flags“)]
????????public?static?string?FlagsReport(Session[]?arrSess)
????????{
????????????StringBuilder?oSB?=?new?StringBuilder();
????????????for?(int?i?=?0;?i?????????????{
????????????????oSB.AppendLine(“SESSION?FLAGS“);
????????????????oSB.AppendFormat(“{0}:?{1}\n“?arrSess[i].id?arrSess[i].fullUrl);
????????????????foreach(DictionaryEntry?sFlag?in?arrSess[i].oFlags)
????????????????{
????????????????????oSB.AppendFormat(“\t{0}:\t\t{1}\n“?sFlag.Key?sFlag.Value);
????????????????}
????????????}
????????????return?oSB.ToString();
????????}
????????*/
????????//?You?can?create?a?custom?menu?like?so:
????????/*
????????[QuicklinkMenu(“&links“)]
????????[QuicklinkItem(“IE?GeoLoc?TestDrive“?“http://ie.microsoft.com/testdrive/HTML5/Geolocation/Default.html“)]
????????[QuicklinkItem(“FiddlerCore“?“http://fiddler2.com/fiddlercore“)]
????????public?static?void?DolinksMenu(string?sText?string?sAction)
????????{
????????????Utilities.LaunchHyperlink(sAction);
????????}
????????*/
????????[RulesOption(“Hide?304s“)]
????????[BindPref(“fiddlerscript.rules.Hide304s“)]
????????public?static?bool?m_Hide304s?=?false;
????????//?Cause?Fiddler?to?override?the?Accept-Language?header?with?one?of?the?defined?values
????????[RulesOption(“Request?&Japanese?Content“)]
????????public?static?bool?m_Japanese?=?false;
????????//?Automatic?Authentication
????????[RulesOption(“&Automatically?Au
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????25517??2017-12-15?03:22??fiddler中文版V5.0\App.ico
?????文件??????61816??2017-12-15?03:22??fiddler中文版V5.0\Be.Windows.Forms.HexBox.dll
?????文件???????1406??2017-12-15?03:22??fiddler中文版V5.0\Countdown.wav
?????文件???????2931??2017-12-15?03:22??fiddler中文版V5.0\credits.txt
?????文件??????19832??2017-12-15?03:22??fiddler中文版V5.0\ExecAction.exe
?????文件????2581504??2017-12-24?15:25??fiddler中文版V5.0\Fiddler-中文版.exe
?????文件????????252??2017-12-15?03:22??fiddler中文版V5.0\Fiddler.exe.config
?????文件????1285632??2017-12-15?03:24??fiddler中文版V5.0\Fiddler.pdb
?????文件??????19832??2017-12-15?03:22??fiddler中文版V5.0\ForceCPU.exe
?????文件?????119264??2017-12-15?03:25??fiddler中文版V5.0\ImportExport\BasicFormats.dll
?????文件?????183808??2017-12-15?03:23??fiddler中文版V5.0\ImportExport\BasicFormats.pdb
?????文件??????50144??2017-12-15?03:25??fiddler中文版V5.0\ImportExport\VSWebTestExport.dll
?????文件??????99840??2017-12-15?03:23??fiddler中文版V5.0\ImportExport\VSWebTestExport.pdb
?????文件??????18944??2016-07-07?18:53??fiddler中文版V5.0\Inspectors\JB.Fiddler.Inspectors.dll
?????文件?????204800??2016-07-07?18:53??fiddler中文版V5.0\Inspectors\QWhale.Common.dll
?????文件?????929792??2016-07-07?18:53??fiddler中文版V5.0\Inspectors\QWhale.Editor.dll
?????文件?????278528??2016-07-07?18:53??fiddler中文版V5.0\Inspectors\QWhale.Syntax.dll
?????文件?????290816??2016-07-07?18:53??fiddler中文版V5.0\Inspectors\QWhale.Syntax.Schemes.dll
?????文件?????294400??2017-05-20?18:13??fiddler中文版V5.0\Inspectors\Standard.dll
?????文件??????73728??2016-07-07?18:53??fiddler中文版V5.0\Inspectors\SyntaxView.dll
?????文件???????5660??2017-12-15?03:22??fiddler中文版V5.0\license.txt
?????文件???????4781??2017-12-15?03:22??fiddler中文版V5.0\Loadsc
?????文件???????1490??2017-12-15?03:22??fiddler中文版V5.0\Loadsc
?????文件??????55632??2017-12-15?03:22??fiddler中文版V5.0\makecert.exe
?????文件????????433??2017-12-15?03:22??fiddler中文版V5.0\ResponseTemplates\200_FiddlerGif.dat
?????文件????????150??2017-12-15?03:22??fiddler中文版V5.0\ResponseTemplates\200_SimpleHTML.dat
?????文件????????173??2017-12-15?03:22??fiddler中文版V5.0\ResponseTemplates\200_TransPixel.dat
?????文件????????106??2017-12-15?03:22??fiddler中文版V5.0\ResponseTemplates\204_NoContent.dat
?????文件????????165??2017-12-15?03:22??fiddler中文版V5.0\ResponseTemplates\302_Redirect.dat
?????文件????????175??2017-12-15?03:22??fiddler中文版V5.0\ResponseTemplates\303_RedirectWithGet.dat
............此處省略74個文件信息
評論
共有 條評論