{"id":545,"date":"2023-02-25T17:37:59","date_gmt":"2023-02-25T09:37:59","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=545"},"modified":"2023-04-29T20:38:22","modified_gmt":"2023-04-29T12:38:22","slug":"fidder-set-explicit-ip-address","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/02\/25\/fidder-set-explicit-ip-address\/","title":{"rendered":"Fidder\u8bbe\u7f6e\u663e\u5f0fIP\u5730\u5740"},"content":{"rendered":"<p>\u5728\u6d4b\u8bd5\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u7ecf\u5e38\u9700\u8981\u901a\u8fc7host\u5728\u4e0d\u540c\u7684\u73af\u5883\u4e4b\u95f4\u5207\u6362\uff0c\u5982\u679c\u77e5\u9053\u81ea\u5df1\u7684\u73af\u5883\u662f\u5426\u5207\u6362\u6210\u529f\uff0c\u90a3\u4e48\u901a\u8fc7IP\u5730\u5740\u5c31\u5f88\u5bb9\u6613\u5224\u65ad\u3002<\/p>\n<h2>Fiddler\u8bbe\u7f6e\u663e\u793aIP\u5730\u5740<\/h2>\n<p><!-- more --><\/p>\n<p>1\u3001\u6253\u5f00Fiddler\uff0c\u83dc\u5355\u680f\uff1a<code>Rules<\/code> -&gt; <code>Customize Rules\u2026<\/code> \u6216\u5feb\u6377\u952e <code>Ctrl+R<\/code>\u3002<\/p>\n<p>2\u3001\u901a\u8fc7\u5feb\u6377\u952e Ctrl+F\uff0c\u641c\u7d22\uff1astatic function Main() \u51fd\u6570\u3002\u5728\u51fd\u6570\u4e2d\u6dfb\u52a0\u4e00\u884c\u4ee3\u7801\uff0c\u5982\u4e0b\uff1a<\/p>\n<pre><code>\/\/ The Main() function runs everytime your FiddlerScript compiles\nstatic function Main() {\n    var today: Date = new Date();\n    FiddlerObject.StatusText = &quot; CustomRules.js was loaded at: &quot; + today;\n    \/\/ \u663e\u793aIP \u5730\u5740\n    FiddlerObject.UI.lvSessions.AddBoundColumn(&quot;ServerIP&quot;, 120, &quot;X-HostIP&quot;);\n\n    \/\/ Uncomment to add a &quot;Server&quot; column containing the response &quot;Server&quot; header, if present\n    \/\/ UI.lvSessions.AddBoundColumn(&quot;Server&quot;, 50, &quot;@response.server&quot;);\n\n    \/\/ Uncomment to add a global hotkey (Win+G) that invokes the ExecAction method below...\n    \/\/ UI.RegisterCustomHotkey(HotkeyModifiers.Windows, Keys.G, &quot;screenshot&quot;); \n}<\/code><\/pre>\n<p>3\u3001\u7136\u540e\u70b9\u51fb\u83dc\u5355\u680f\uff1a<code>File<\/code> \u2013&gt; <code>Save<\/code> \u6216\u5feb\u6377\u952e <code>Ctrl+S<\/code>\uff0c\u5173\u95ed\u7a97\u53e3\u3002<\/p>\n<p>4\u3001\u518d\u6b21\u67e5\u770bFiddler\u8bf7\u6c42\uff0c\u5c06\u591a\u51fa <code>ServerIP<\/code> \u4e00\u5217\u663e\u793aIP\u8bf7\u6c42\u7684IP\u5730\u5740\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u6d4b\u8bd5\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u7ecf\u5e38\u9700\u8981\u901a\u8fc7host\u5728\u4e0d\u540c\u7684\u73af\u5883\u4e4b\u95f4\u5207\u6362\uff0c\u5982\u679c\u77e5\u9053\u81ea\u5df1\u7684\u73af\u5883\u662f\u5426\u5207\u6362\u6210\u529f\uff0c\u90a3\u4e48\u901a\u8fc7IP\u5730\u5740\u5c31 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[97],"tags":[167],"class_list":["post-545","post","type-post","status-publish","format-standard","hentry","category-tools-skills","tag-fiddler"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/545","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=545"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/545\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=545"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=545"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=545"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}