July 10, 2020 at 5:32 pm
#41763
gcasillascos
Participant
Executed
pip unistall scapy
pip install scapy==2.4.2
no errors
I am using python 3.8 and python 2.7.18
My code
#!/usr/bin/env python
import scapy.all as scapy
def scan(ip):
scapy.airping(ip)
scan(“192.168.241.2”)
my result on kali terminal no matter if using python or python3
Traceback (most recent call last):
File “netScanner.py”, line 10, in <module>
scan(“192.168.241.2”)
File “netScanner.py”, line 7, in scan
scapy.airping(ip)
AttributeError: ‘module’ object has no attribute ‘airping’