Cloud C²
Search…
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!!"
1
./c2-3.0.0_amd64_linux -hostname example.com -recoverAccount bob -setPass ChangeMe123!!
2
[*] Initializing Hak5 Cloud C2 v3.0.1
3
[*] Hostname: example.com
4
[*] DB Path: c2.db
5
--------------------------------------------------------------------------------
6
User Account Recovery Mode
7
--------------------------------------------------------------------------------
8
[+] bob's password successfully changed
9
[*] Account Recovery Complete
10
[!] Server Restart without recovery arguments required
11
[!] Exiting
Copied!
With account recovery complete, the server may now be started as usual without the additional recovery parameters.
Copy link