w4sp-book / w4sp-lab

Lab environment for the Wireshark for Security Professionals book
https://github.com/w4sp-book/w4sp-lab/wiki/Lab-Installation
71 stars 42 forks source link

w4sp_webapp execute Error! #45

Open Parkgunny opened 5 years ago

Parkgunny commented 5 years ago

w4sp-lab@kali:~/Downloads/w4sp-lab-master$ sudo python w4sp_webapp.py ['which', 'dumpcap'] Traceback (most recent call last): File "w4sp_webapp.py", line 441, in w4sp.check_dumpcap() File "/home/w4sp-lab/Downloads/w4sp-lab-master/w4sp_app/utils.py", line 13, in check_dumpcap dumpcap = r('which dumpcap').strip() File "/home/w4sp-lab/Downloads/w4sp-lab-master/w4sp_app/utils.py", line 83, in r return subprocess.check_output(cmd) File "/usr/lib/python2.7/subprocess.py", line 223, in check_output raise CalledProcessError(retcode, cmd, output=output) subprocess.CalledProcessError: Command '['which', 'dumpcap']' returned non-zero exit status 1

I don't execute w4sp_webap.py what should I do?

Tini1993 commented 5 years ago

I got the same error.

Tini1993 commented 5 years ago

Solved. The problem was that I was using the light version of Kali Linux, which doesn't come with wireshark. So either install it manually (sudo apt-get install wireshark) or get Kali's full version.

Now on to the next error.