简体   繁体   English

为什么我无法发送带有鱼尾酱的数据包? (python 2.7)

[英]Why can't I send packets with scapy? (python 2.7)

I get this error every time I try to send a packet: 每当我尝试发送数据包时,都会收到此错误消息:

  File "D:\Python27\lib\site-packages\scapy\sendrecv.py", line 251, in send
    __gen_send(conf.L3socket(*args, **kargs), x, inter=inter, loop=loop, count=count,verbose=verbose, realtime=realtime)
  File "D:\Python27\lib\site-packages\scapy\sendrecv.py", line 234, in __gen_send
    s.send(p)
  File "D:\Python27\lib\site-packages\scapy\arch\pcapdnet.py", line 237, in send
    ifs = dnet.eth(iff)
  File "dnet.pyx", line 112, in dnet.eth.__init__ (./dnet.c:1764)
OSError: No error

What is the problem? 问题是什么? What should I do? 我该怎么办?

From my personal experience, you should connect to the internet with a wired cable and not wireless. 根据我的个人经验,您应该使用有线电缆而非无线网络连接到Internet。 I had that error too. 我也有那个错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM