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

Traceback errors on 5.6.0-kali2-amd64 when trying to install. #68

Open metamonsta opened 4 years ago

metamonsta commented 4 years ago

New issue after manually making the changes mentioned in the pull request. Attempting install on 5.6.0-kali2-amd64.

Traceback (most recent call last): File "w4sp_webapp.py", line 9, in import w4sp File "/opt/w4sp-lab/w4sp.py", line 1, in from w4sp_app import * File "/opt/w4sp-lab/w4sp_app/init.py", line 1, in from w4sp_app.container import container,ns_root,c File "/opt/w4sp-lab/w4sp_app/container.py", line 68 ret = libc.setns(ns_fd.fileno(), 0) ^ IndentationError: unindent does not match any outer indentation level

Please advise,

giacomomangelli commented 4 years ago

it looks like you didn't all the changes that are on the pull request, cause the import are written still with the python 2.7 format

metamonsta commented 4 years ago

ah, ok. will go back and check again.

giacomomangelli commented 4 years ago

anyway it won't work even if you do all the correct change, we discussed the last changes to do in this topic error: impossibile trovare 'python-netifaces' i'm sorry that all the discussion is in italian, i hope you'll find the answer you need

metamonsta commented 4 years ago

Thank you Meliodas123! I used the modified master (w4sp-lab-master.zip) that was attached to the following thread: https://github.com/w4sp-book/w4sp-lab/issues/63

I wrote over my existing install with the modified files and I am currently going through the install. So far things are looking like it may be successful.

Thanks in advance all!