wireShark抓包
Wireshark 抓包 iOS 入门教程 http://www.phpxs.com/post/5477/
提示错误处理方式:
Wireshark - you don't have permission to capture on that device mac
http://blog.csdn.net/shaobo8910/article/details/73851177
mac本本使用Wireshark去抓包的时候很悲剧的告诉我 you don't have permission to capture on that device mac
ok 那么我们自己修改下权限让我们有权限访问就好了.
1-打开终端
看你实际用户的名字
2-输入命令 'whoami'
3-进入 /dev 目录
4-输入命令 'ls -la | grep bp'
5-输入命令 'sudo chown whoami的结果:admin bp*'
6-重新打开WireShark 就ok了
详细命令如下
➜~whoami
mengfeng
➜~cd /dev
➜/devls -la | grep bp
crw------- 1 root wheel 23, 0 5 16 14:44bpf0
crw------- 1 root wheel 23, 1 5 16 16:00bpf1
crw------- 1 root wheel 23, 2 5 17 11:33bpf2
crw------- 1 root wheel 23, 3 5 17 09:31bpf3
crw------- 1 root wheel 23, 4 5 16 17:18bpf4
crw------- 1 root wheel 23, 5 5 16 17:18bpf5
➜/devsudo chown mengfeng:admin bp*
Password:
➜/devls -la | grep bp
crw------- 1 mengfeng admin 23, 0 5 16 14:44bpf0
crw------- 1 mengfeng admin 23, 1 5 16 16:00bpf1
crw------- 1 mengfeng admin 23, 2 5 17 11:33bpf2
crw------- 1 mengfeng admin 23, 3 5 17 09:31bpf3
crw------- 1 mengfeng admin 23, 4 5 16 17:18bpf4
crw------- 1 mengfeng admin 23, 5 5 16 17:18bpf5
网友评论