Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problemi con codici w4sp_webapp.py #90

Open
Mikael2807 opened this issue Apr 5, 2023 · 5 comments
Open

Problemi con codici w4sp_webapp.py #90

Mikael2807 opened this issue Apr 5, 2023 · 5 comments

Comments

@Mikael2807
Copy link

Salve a tutti,
Ho comprato un libro sull'utilizzo di wireshark e mi ha fatto creare un utente su kali linux per poterci installare il laboratorio w4sp-lab.
Ma quando lancio il comando python w4sp_webapp.py mi vengono fuori molti errori nei codici.
Ho provato a modificare i file seguendo ogni contributo dato dai vostri commenti ma continuo a non riuscirci.
Gli ultimi commenti su come aggiustare lo script risalgono al 2020 e penso che nel mentre sia cambiato qualcosa che impedisce, a quelle correzioni di farmi andare avanti.
Aiutatemi perfavore.
Grazie a tutti
@w4sp-book @w4sp-lab

@avalenteAvo
Copy link

avalenteAvo commented May 25, 2023

Ciao,
Confermo anche io la stessa cosa. Quando lancio il comando linux python w4sp_webapp.py vengono fuori in fase di compilazione errori su errori. Non so come procedere onestamente.

Hello,
I confirm the same thing. When I launch linux command python w4sp_webapp.py arise during compilation many Syntax Errors. At the end the python file is not working.
Please let me know if you fix these problems.
Thank you

pytonErrors

@pdichiaro78
Copy link

Same problem!! I think this book must be retired form shops!
It's useless

@ecd137raas
Copy link

ecd137raas commented Aug 26, 2023

Same problem!!
Solution it's here.
https://medium.com/@vaibjav2raj/setting-up-the-w4sp-lab-in-2020-d4df6a3d2a5e

@SimonBlancoE
Copy link

Same problem!! Solution it's here. https://medium.com/@vaibjav2raj/setting-up-the-w4sp-lab-in-2020-d4df6a3d2a5e

Solution doesn't work, it throws ot another error:


The command '/bin/sh -c pip install netifaces' returned a non-zero code: 1
Traceback (most recent call last):
  File "/home/w4sp-lab/w4sp-lab-master/w4sp_webapp.py", line 500, in <module>
    w4sp.docker_build('images/')
  File "/home/w4sp-lab/w4sp-lab-master/w4sp_app/utils.py", line 95, in docker_build
    r('docker build -t w4sp/labs:base base')
  File "/home/w4sp-lab/w4sp-lab-master/w4sp_app/utils.py", line 83, in r
    return subprocess.check_output(cmd)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/subprocess.py", line 466, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['docker', 'build', '-t', 'w4sp/labs:base', 'base']' returned non-zero exit status 1.

@antrenor
Copy link

Qualcuno ha la soluzione? Ho provato quanto sopra ma nulla help!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants