tested on kali 2022.3 ,thanks the author of https://medium.com/@vaibjav2raj/setting-up-the-w4sp-lab-in-2020-d4df6a3d2a5e
# after install kali ,First change to root.
sudo useradd -m w4sp-lab -s /bin/bash -G sudo -U
# Set the password
passwd w4sp-lab
# Log out and change to user w4sp-lab then download or clone the lab from this repo
sudo apt install -y python3-docker
sudo apt install wireshark net-tools ethtool xterm
sudo python3 w4sp_webapp.py
# After all the images are loaded a browser may or may not open automatically. Don’t panic. Open a firefox tab and enter this address.
# http://127.0.0.1:5000