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

Issues Setting Up Lab #42

Open Samsquanches opened 5 years ago

Samsquanches commented 5 years ago

Running Kali Linux on my Mac through VirtualBox and installing the lab for a college class. Been beating my head off the wall all week trying to get past the different errors I encounter. I can open the browser and try to setup the lab manually by entering the IP address into firefox but it never goes anywhere.

screen shot 2018-10-15 at 4 08 23 pm screen shot 2018-10-15 at 4 08 05 pm
mikeybro commented 5 years ago

I have ran into this same issue

mikeybro commented 5 years ago

Any solution to the issue???

mikeybro commented 5 years ago

I have found a work around, after getting caught up in the learning python and the subprocess methods, I started playing around with some code in the w4sp_webapp.py file, and also combing the web for answers as to how the latest Kali update might have affected the lab. So, my work around, you can either edit the file mentioned as such: capture

Or open up a new terminal while the other terminal hangs in Error: no DISPLAY environment variable specified , and run the command: firefox http://127.0.0.1:5000

This opens up firefox on the local host and port(or whatever) that the lab is running on, since the error is just with firefox and something with permissions, or a path or environment issue, I do not know for sure. BUT THIS works.

mikeybro commented 5 years ago

OK, Don't edit the w4sp_webapp.py file as above, just open the firebox browser and connect to 127.0.0.1:5000 I have been trying to work with the code though, but running as root messes up somethings.

schlauerwolf commented 5 years ago

Thanks :)