如何在OSX Catalina中使用Wireshark捕获USB流量(10.15) [英] How to capture USB traffic with Wireshark in OSX Catalina (10.15)

查看:65
本文介绍了如何在OSX Catalina中使用Wireshark捕获USB流量(10.15)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使Wireshark USB捕获工作.显然,在Catalina之前的技巧是打开接口,以便Wireshark可以看到它.

I am trying to get Wireshark USB captures working. Apparently the trick prior to Catalina was to just bring the interface up so that Wireshark could see it.

https://forums.developer.apple.com/thread/95380

但是,这在Catalina中不起作用,因为USB集线器不再显示为接口.是否有另一种已知方法可以在OSX中生成"这些接口?也许是新的系统策略设置?如何找到这样的东西?

However, this does not work in Catalina because the USB hubs are not shown as interfaces any longer. Is there another known way to "bring up" these interfaces in OSX? Perhaps a new system policy setting? How would one go about finding such a thing?

现在可能已经坏了.我想象Wireshark和ifconfig使用相同的API来收集有关接口的信息.

It might just be broken now. I imagine Wireshark and ifconfig use the same API to gather info about the interfaces.

推荐答案

您需要先禁用SIP

  1. 重新启动您的Mac
  2. 按住Command-R重启进入恢复模式
  3. 单击实用程序"->终端",键入" csrutil disable ",然后单击Enter.
  4. 重新启动您的Mac
  1. Restart your Mac
  2. Hold down Command-R to reboot into Recovery Mode
  3. Click Utility->Terminal, type "csrutil disable", click Enter.
  4. Restart your Mac

然后你可以使用sudo ifconfig XHC20 up"命令

这篇关于如何在OSX Catalina中使用Wireshark捕获USB流量(10.15)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆