The setup script is done in python and runs under a special account created for LUCY (not root). It can always be re-started using the command python /opt/phishing/current/tools/setup/setup.py (or in LUCY version that have been downloaded as 2.8 and higher: docker exec -it `docker ps -q` python /opt/phishing/current/tools/setup/setup.py). Starting from Version 2.4, you will be able to logout from that setup script.
After turning on the virtual machine, you can either let LUCY do all the configuration (select “Y”) or you can manually configure Lucy (select “No”). In case you choose “Yes” LUCY will do the complete setup and won't ask you for further input. Choose “Yes” only if you have DHCP (Dynamic IP Address) enabled. At the end of the automatic setup you will be given a login and password which you will need to authenticate for the web gui. In case you forgot to write down the password, you can still go into the manual setup, create a new user and new password.
STEP 1: “Network Settings” If you selected “No” in the first menu, you will be asked to configure the network settings (IP address). If you have a DHCP server just choose DHCP. Otherwise configure your IP address manually. If you selected DHCP it can take a while until the settings are saved since LUCY will also test the connection.
STEP 2 “Domain & User Configuration”: If you are setting up LUCY for the first time, you will automatically switch to the Domain & User Configuration. LUCY needs a name pointing to the server. It can be anything (like « test.phishing.local » or simply « phishing »). The default name is phish.local. If you hit enter, it will keep this name. Otherwise provide the DNS name (e.g. a dyndns name) you have already registered for that IP.
STEP 4: The summary of your settings is shown when you have successfully finished the configuration. Press Enter to start the web service with your settings. You don't need to exit the script menu. All remaining configuration is done within the web browser.
In order to test issues with your connectivity, LUCY offers you a few built in tools. First choose Menu Item 3: “Network Configuration”. In this Menu, you have Menu Item 3 again (Network Tools) that offers you the possibility to test the basic connectivity to the internet (ping, traceroute, route etc.).
If you have no Network Connectivity, check that you have configured LUCY with the correct Network settings (IP, Gateway etc). If you are using VMware or any other virtualization software, make sure that you have configured LUCY in Bridged mode.
If you see that Network Connectivity is possible, but LUCY is not able to access the internet, it is possible that: