Cloud C²
Account Recovery
In the event that a user's password is lost or forgotten, it may be reset using the -recoverAccount and -setPass command line parameters. In the following example, the password for the user "bob" is set to "ChangeMe123!!"
./c2-3.0.0_amd64_linux -hostname -recoverAccount bob -setPass ChangeMe123!!
[*] Initializing Hak5 Cloud C2 v3.0.1
[*] Hostname:
[*] DB Path: c2.db
User Account Recovery Mode
[+] bob's password successfully changed
[*] Account Recovery Complete
[!] Server Restart without recovery arguments required
[!] Exiting
With account recovery complete, the server may now be started as usual without the additional recovery parameters.
Copy link