网站地图 联系我们

学习python首选-实战python学习班,专注于python高级工程师培养,python课程:包括Python核心编程技术、全栈开发、网络爬虫、人工智能等。python全栈工程师+提高工作经验,获取免费试听课程!
当前位置: python培训 > python学习 > 常见问题 > 正文

运行scapy里的sr()时,一直报错,像下面那样

来源:肚皮舞 浏览量: 发布日期:20-06-17 09:25:47 调整字体大小【 【所属栏目:常见问题】

  运行scapy里的sr()时,一直报错,像下面那样。

  Traceback (most recent call last):

  File "D:\Python27\lib\site-packages\scapy\arch\windows__init__.py", line 374, in sndrcv

  pks.send(p)

  File "D:\Python27\lib\site-packages\scapy\arch\pcapdnet.py", line 250, in send

  ifs = dnet.eth(iff)

  File "dnet.pyx", line 112, in dnet.eth.__init__ (./dnet.c:1764)

  OSError: No error

  INFO: --- Error sending packets

  Traceback (most recent call last):

  File "", line 1, in

  File "D:\Python27\lib\site-packages\scapy\sendrecv.py", line 317, in sr

  a,b=sndrcv(s,x,*args,**kargs)

  File "D:\Python27\lib\site-packages\scapy\arch\windows__init__.py", line 410, in sndrcv

  h = r.hashret()

  File "D:\Python27\lib\site-packages\scapy\layers\inet.py", line 371, in hashret

  if ( (self.proto == socket.IPPROTO_ICMP)

  AttributeError: 'NoneType' object has no attribute 'IPPROTO_ICMP'

标签:
肚皮舞新闻动态News Center

肚皮舞视频

肚皮舞培训课程

联系卡伊丝contact us
联系我们
python培训「零基础入门到精通」python人工智能编程培训班-0798wz.com

咨询热线:18301225663