The following might work too but I haven't tested it.
This will enable offline mode and disable captcha:
mysql -uroot -ppnetlab -D pnetlab_db -e 'UPDATE control SET control_value = "offline" WHERE control_name = "ctrl_default_mode"; UPDATE control SET control_value = "1" WHERE control_name = "ctrl_offline_mode"; UPDATE control SET control_value = "0" WHERE control_name = "ctrl_online_mode"; UPDATE control SET control_value = "0" WHERE control_name = "ctrl_captcha";'
If I remember correctly the default username is "pnet" and the password is "admin" for offline mode or the other way around Idk read the docs at pnetlab.com.
If you get a "user doesn't exist" error then try the next one.
This keeps online mode but disables captcha (probably won't work lol but still here it is):
mysql -uroot -ppnetlab -D pnetlab_db -e 'UPDATE control SET control_value = "online" WHERE control_name = "ctrl_default_mode"; UPDATE control SET control_value = "0" WHERE control_name = "ctrl_offline_mode"; UPDATE control SET control_value = "1" WHERE control_name = "ctrl_online_mode"; UPDATE control SET control_value = "0" WHERE control_name = "ctrl_captcha";'
Let me know if it works or if you have any issues. This assumes you're using the default database password.
