Getting the output below when running the setup w4sp_webapp.py script
Running on Linux 5.3.0-kali2-amd64, with Intel(R) Core(TM) i7-3520M CPU @
2.90GHz (with SSE4.2), with 3940 MB of physical memory, with locale en_US.utf8,
with libpcap version 1.9.1 (with TPACKET_V3), with GnuTLS 3.6.10, with Gcrypt
1.8.5, with zlib 1.2.11, binary plugins supported (0 loaded).
Built using gcc 9.2.1 20190909.
**w4sp-lab@w4sp:~/Downloads/w4sp-lab-master$* sudo python w4sp_webapp.py
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python-netifaces
Traceback (most recent call last):
File "w4sp_webapp.py", line 8, in
import w4sp
File "/home/w4sp-lab/Downloads/w4sp-lab-master/w4sp.py", line 1, in
from w4sp_app import
File "/home/w4sp-lab/Downloads/w4sp-lab-master/w4sp_app/init.py", line 1, in
from container import container,ns_root,c
File "/home/w4sp-lab/Downloads/w4sp-lab-master/w4sp_app/container.py", line 22, in
subprocess.check_call(['apt-get', 'install', 'python-netifaces'])
File "/usr/lib/python2.7/subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['apt-get', 'install', 'python-netifaces']' returned non-zero exit status 100
Getting the output below when running the setup w4sp_webapp.py script
Running on Linux 5.3.0-kali2-amd64, with Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz (with SSE4.2), with 3940 MB of physical memory, with locale en_US.utf8, with libpcap version 1.9.1 (with TPACKET_V3), with GnuTLS 3.6.10, with Gcrypt 1.8.5, with zlib 1.2.11, binary plugins supported (0 loaded).
Built using gcc 9.2.1 20190909. **w4sp-lab@w4sp:~/Downloads/w4sp-lab-master$* sudo python w4sp_webapp.py Reading package lists... Done Building dependency tree
import w4sp
File "/home/w4sp-lab/Downloads/w4sp-lab-master/w4sp.py", line 1, in
from w4sp_app import
File "/home/w4sp-lab/Downloads/w4sp-lab-master/w4sp_app/init.py", line 1, in
from container import container,ns_root,c
File "/home/w4sp-lab/Downloads/w4sp-lab-master/w4sp_app/container.py", line 22, in
subprocess.check_call(['apt-get', 'install', 'python-netifaces'])
File "/usr/lib/python2.7/subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['apt-get', 'install', 'python-netifaces']' returned non-zero exit status 100
Reading state information... Done E: Unable to locate package python-netifaces Traceback (most recent call last): File "w4sp_webapp.py", line 8, in