root@kali:~# cd netattack2
root@kali:~/netattack2# ls
CREDITS LICENSE README.md netattack2.py src
root@kali:~/netattack2# ./netattack2.py
Traceback (most recent call last):
File "./netattack2.py", line 47, in
from scapy.all import
File "/usr/local/lib/python2.7/dist-packages/scapy/all.py", line 10, in
from .config import
File "/usr/local/lib/python2.7/dist-packages/scapy/config.py", line 11, in
from .data import *
File "/usr/local/lib/python2.7/dist-packages/scapy/data.py", line 184, in
TCP_SERVICES,UDP_SERVICES=load_services("/etc/services")
File "/usr/local/lib/python2.7/dist-packages/scapy/data.py", line 109, in load_services
f=open(filename, errors='ignore')
TypeError: 'errors' is an invalid keyword argument for this function
root@kali:~# cd netattack2 root@kali:~/netattack2# ls CREDITS LICENSE README.md netattack2.py src root@kali:~/netattack2# ./netattack2.py Traceback (most recent call last): File "./netattack2.py", line 47, in
from scapy.all import
File "/usr/local/lib/python2.7/dist-packages/scapy/all.py", line 10, in
from .config import
File "/usr/local/lib/python2.7/dist-packages/scapy/config.py", line 11, in
from .data import *
File "/usr/local/lib/python2.7/dist-packages/scapy/data.py", line 184, in
TCP_SERVICES,UDP_SERVICES=load_services("/etc/services")
File "/usr/local/lib/python2.7/dist-packages/scapy/data.py", line 109, in load_services
f=open(filename, errors='ignore')
TypeError: 'errors' is an invalid keyword argument for this function