J'ai essayé d'installer Scapy sur OS X via Homebrew, ce qui semblait fonctionner correctement.
Après l'installation, il manquait quelques modules Python que j'ai installés via Homebrew.
Maintenant, lorsque je démarre Scapy, j'obtiens l'erreur suivante:
INFO: Impossible d'importer l'enveloppe python gnuplot. Impossible de tracer.
Traceback (most recent call last):
File "/usr/local/bin/scapy", line 25, in
interact()
File "/usr/local/lib/python2.7/site-packages/scapy/main.py", line 278, in interact
scapy_builtins = __import__("all",globals(),locals(),".").__dict__
File "/usr/local/lib/python2.7/site-packages/scapy/all.py", line 25, in
from route import *
File "/usr/local/lib/python2.7/site-packages/scapy/route.py", line 162, in
conf.route=Route()
File "/usr/local/lib/python2.7/site-packages/scapy/route.py", line 22, in __init__
self.resync()
File "/usr/local/lib/python2.7/site-packages/scapy/route.py", line 31, in resync
self.routes = read_routes()
File "/usr/local/lib/python2.7/site-packages/scapy/arch/unix.py", line 86, in read_routes
ifaddr = scapy.arch.get_if_addr(netif)
File "/usr/local/lib/python2.7/site-packages/scapy/arch/__init__.py", line 36, in get_if_addr
return socket.inet_ntoa(get_if_raw_addr(iff))
File "/usr/local/lib/python2.7/site-packages/scapy/arch/pcapdnet.py", line 187, in get_if_raw_addr
i = dnet.intf()
AttributeError: l'objet 'module' n'a pas d'attribut 'intf'
Quelqu'un a des idées ?