开发者

ARP missing from the module scapy

开发者 https://www.devze.com 2023-01-28 06:46 出处:网络
i am trying to use scap开发者_开发百科y in python while i try to import the scapy import scapy its just fine but the line scapy.ARP() causes a

i am trying to use scap开发者_开发百科y in python while i try to import the scapy import scapy its just fine but the line scapy.ARP() causes a

Traceback (most recent call last): File "", line 1, in AttributeError: 'module' object has no attribute 'ARP'

a dir(scapy) produces '['__builtins__', '__doc__', '__file__', '__name__', '__package__', '__path__']' what might be the problem here ? do i need to install the packages separately if yes how to do it ?


got it , from the version v.2 onward the it should be used as from scapy.all import *

0

精彩评论

暂无评论...
验证码 换一张
取 消