Cloud C²
  • Cloud C² by Hak5
  • Getting Started
    • Cloud C² Basics
    • Licensing and Downloads
    • Installation and Setup
    • Adding Devices
    • Navigating the Interface
    • Managing Devices
  • Guides
    • Quick Deployment on an Amazon Lightsail VPS
    • Let's Encrypt SSL configuration and device enrollment
    • Enabling Cloud C² as a service on boot and Exfiltration
    • Cloud C² Setup with Self-Signed SSL certificates
    • Installing updates to the Cloud C² Server
    • Upgrading Cloud C² Editions
  • Troubleshooting
    • Device cannot connect to server
    • Account Recovery
  • Extras
    • Icon Sets
Powered by GitBook
On this page

Was this helpful?

  1. Troubleshooting

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.2.0_amd64_linux -hostname example.com -recoverAccount bob -setPass ChangeMe123!!
[*] Initializing Hak5 Cloud C2 v3.2.0
[*] Hostname: example.com
[*] 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.

Last updated 2 years ago

Was this helpful?