klren0312 / daliy_knowledge

知识积累,正确使用方式是watch
21 stars 4 forks source link

mac扫站报错open device (en1) failed: pcap.OpenLive en1 failed: en1: You don't have permission to capture on that device ((cannot open BPF device) /dev/bpf0: Permission denied) #844

Open klren0312 opened 2 months ago

klren0312 commented 2 months ago

直接给网卡777权限

sudo chmod 777 /dev/bpf*