Jump to content

C2 Cloud Startup

Danny Reed

Recommended Posts

Hi Danny,

Lets get started with making a custom bash script. We will begin by doing "vim H5C2", and creating a script with the following content.

./c2_community-linux-64 -hostname mysub.hostname.com -https

We will then use the nohup command to keep the process running in the backgroup even after we exit the terminal as so.

nohup ./H5C2 &

The script will now run in the background even after your exit/close terminal.

  • Like 1
Link to comment
Share on other sites

  • 1 year later...

Hi everyone!

I am also hosting C2 latest version on AWS Lightsail. I setup Cloud C2 with no issues but while adding a device I got booted off. I rebooted my Ubuntu instance and tried again.. Cloud C2 not available. So I figured that the web server wasn't running and found this thread. I followed the advise Void-Byte and entered...

On 11/3/2019 at 5:02 PM, Void-Byte said:

./c2_community-linux-64 -hostname mysub.hostname.com -https

I ended up with ....

ubuntu@ip-xxx-xx-xx-10:~$ ./c2_community-linux-64 -hostname mysub.hostname.com -https
[*] Initializing Hak5 Cloud C2 v3.0.2
[*] Hostname: mysub.hostname.com
[*] DB Path: c2.db
[*] Validating License
[*] License Valid
[*] Running Hak5 Cloud C2
[!] Webserver failed to start: listen tcp bind: permission denied
[*] Shutting down gracefully
[*] Server stopped

Where should I go from here?

Link to comment
Share on other sites

  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...