/usr/bin/python3.4 /home/medivator/ovieproj/packetsniffer.py
Traceback (most recent call last):
File "/home/medivator/ovieproj/packetsniffer.py", line 29, in <module>
main()
File "/home/medivator/ovieproj/packetsniffer.py", line 10, in main
conn = socket.socket(socket.AF_PACKET, socket.SOCK_RAW, socket.ntohs(3))
File "/usr/lib/python3.4/socket.py", line 126, in __init__
_socket.socket.__init__(self, family, type, proto, fileno)
PermissionError: [Errno 1] Operation not permitted
我正在尝试编写网络嗅探器代码,当我尝试运行该应用程序时,我遇到了这个错误。
我需要一些帮助,因为我对错误有点无能为力。谢谢