2
我想簡單的代碼,只需發送一個ARP報文:Scapy的不會在64位發送數據包的Windows
from scapy.all import *
p = ARP()
send(p)
,我得到這個錯誤:
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
send(p)
File "C:\Python26\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 "C:\Python26\scapy\sendrecv.py", line 234, in __gen_send
s.send(p)
File "C:\Python26\scapy\arch\pcapdnet.py", line 237, in send
ifs = dnet.eth(iff)
File "dnet.pyx", line 112, in dnet.eth.__init__
OSError: No error
我的操作系統是Windows 8 64位。我嘗試了win7 64bit,並得到同樣的問題。我嘗試了win7 32bit,並且工作正常。
我不明白爲什麼..請幫助..
這是以管理員身份運行嗎? – RyPeck