惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

L
Lohrmann on Cybersecurity
S
Secure Thoughts
I
Intezer
Forbes - Security
Forbes - Security
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
H
Help Net Security
IT之家
IT之家
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
宝玉的分享
宝玉的分享
S
Securelist
T
The Exploit Database - CXSecurity.com
博客园 - 叶小钗
Security Latest
Security Latest
The Cloudflare Blog
Jina AI
Jina AI
T
Tenable Blog
J
Java Code Geeks
G
GRAHAM CLULEY
C
CERT Recently Published Vulnerability Notes
SecWiki News
SecWiki News
AI
AI
博客园 - 聂微东
S
Schneier on Security
博客园_首页
爱范儿
爱范儿
有赞技术团队
有赞技术团队
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
www.infosecurity-magazine.com
www.infosecurity-magazine.com
博客园 - 【当耐特】
T
Threatpost
Security Archives - TechRepublic
Security Archives - TechRepublic
Help Net Security
Help Net Security
酷 壳 – CoolShell
酷 壳 – CoolShell
Recent Announcements
Recent Announcements
W
WeLiveSecurity
M
MIT News - Artificial intelligence
H
Hackread – Cybersecurity News, Data Breaches, AI and More
月光博客
月光博客
阮一峰的网络日志
阮一峰的网络日志
Last Week in AI
Last Week in AI
T
Threat Research - Cisco Blogs
S
Security Affairs
T
Tor Project blog
T
Tailwind CSS Blog
N
News | PayPal Newsroom
C
CXSECURITY Database RSS Feed - CXSecurity.com
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
The Register - Security
The Register - Security
D
Darknet – Hacking Tools, Hacker News & Cyber Security

博客园 - 孤峰皓月

OD 基础 Fiddler 抓取Https时 显示 Tunnel to 443 的解决方案2 Fiddler 模拟器抓包,SSL抓包不到 新浪微博视频批量上传社区投稿教程 windows 2008 R2 设置 discuz 伪静态 微信小程序-布局 微信小程序,体验版加载不了网络数据 微信小程序: 使用本地缓存 微信小程序 自定义组件. 小程序学习一些小技巧 微信小程序基础学习笔记4 微信小程序基础学习笔记3:API 微信小程序基础学习笔记2:数据绑定相关 微信小程序基础学习笔记1 HttpWebRequest.GetRequestStream方法timeout【第3次操作时就超时】的原因及解决办法 cad 已知拱高弦长求弧长 MySQL直接将数据库的文件夹从服务器复制到本地,打开表提示需要修复 “is marked as crashed and should be repaired ” 富文本编辑器,webbrowser控件 document.execCommand() 解析 Visual studio 2010 工具箱名称不显示的原因
Fiddler 抓取Https时 显示 Tunnel to 443 的解决方案
孤峰皓月 · 2021-09-02 · via 博客园 - 孤峰皓月

设置好Fiddler,部分https抓包时,显示 Tunnel to 443,注意不是全部,如果是全部显示Tunnel to 443,那需要把证书推送到系统证书里面。

1.打开 Fiddler ,找到 FiddlerScript标签,Go to: 这里选 OnBeforeRequest

.

 

在这个方法的末尾加上如下代码:

var hosts = 'zkd.me develop.dog';
         FiddlerApplication.Log.LogFormat("Logger session {0}, Url: {1}, isHttps: {2}, port: {3}", oSession.id, oSession.fullUrl, oSession.isHTTPS, oSession.port);
        if(hosts.indexOf(oSession.host) > -1){
            FiddlerApplication.Log.LogFormat("Capture session {0}, Url: {1}, isHttps: {2}, port: {3}", oSession.id, oSession.fullUrl, oSession.isHTTPS, oSession.port);
            if(oSession.HTTPMethodIs('CONNECT')){
                FiddlerApplication.Log.LogString('create fake tunnel response');
                oSession['x-replywithtunnel'] = 'FakeTunnel';
                return;
            }
 
            if (oSession.isHTTPS){
                FiddlerApplication.Log.LogString('switch https to http request');
                oSession.fullUrl = oSession.fullUrl.Replace("https://","http://");
                oSession.port = 80;
            }   
 
            FiddlerApplication.Log.LogFormat("Processed session {0}, Url: {1}, isHttps: {2}, port: {3}", oSession.id, oSession.fullUrl, oSession.isHTTPS, oSession.port);
        }
        FiddlerApplication.Log.LogFormat("Logger session {0}, Url: {1}, isHttps: {2}, port: {3}", oSession.id, oSession.fullUrl, oSession.isHTTPS, oSession.port);
 
var hosts = 'zkd.me develop.dog'; 
这里需要改成我们自己的要抓包的域名

2.修改好后,一定要点 Save Script 这个按钮,要不然改了没用

//如何让HTTP请求和HTTPS请求显示不一样的颜色?

if(oSession.isHTTPS && oSession.url.indexOf(oSession.host)> -1){
oSession["ui-color"] = "blue";
}
if(!oSession.isHTTPS && oSession.url.indexOf(oSession.host)> -1){
oSession["ui-color"] = "green";
}
 

参考自:https://blog.csdn.net/amrenyu/article/details/80745674