wireshark 抓包工具
最后更新于:2022-04-02 03:44:20
[TOC]
> [官网下载](https://www.wireshark.org/download.html)
## 抓取本地包
> [参考](https://blog.csdn.net/u013613428/article/details/53156957)
1. 安装npcap
2. 装完后监听 Npcap Loopback Adapter 网卡
## 过滤规则
### 对 ip , port 和http 进行过滤
`(ip.src == 192.168.0.91) && (tcp.srcport == 8000) and http`
## 对HTTPS数据的解密
1. 添加`SSLKEYLOGFILE`的环境变量,值为`D:\sshkey.log`
2. `菜单栏Edit——Preferences——Protocols——SSL--(Pre)-Master-Secret log filename` 中添加文件路径
';