【问题笔记】Mac无法使用wireshark进行抓包,报错

本文记录了在Mac上使用Wireshark进行网络抓包时遇到的错误:“The capture session could not be initiated on interface…”。提供了两种解决方法:通过终端修改权限设置,或者使用sudo命令赋予权限。这两种方法都能帮助用户成功开启Wireshark的抓包功能。
摘要由CSDN通过智能技术生成

#打开wireshark开启抓包时报错
#Mac使用wireshark进行抓包时报错

Mac wireshark报错The capture session could not be initiated on interface

今天打开wireshark想抓个包,发现打开混杂模式失败,抓不了,报错如下:
“The capture session could not be initiated on interface ‘en0’ (You don’t have permission to capture on that device).
Please check to make sure you have sufficient permissions.
If you installed Wireshark using the package from wireshark.org, Try re-installing it and checking the box for the “Set capture permissions on startup” item.”
在这里插入图片描述

这个问题其实之前我就遇到过,不过好久没抓包,即使知道是网卡权限问题,回想了一会,还是想不起来具体的解决方法了(唉我这记性),还是记下来吧, 要不然下一次忘了还得再查,好记性不如写博客,hhh。

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值