Jump to content

Recommended Posts

This is probably common knowledge for most people here but thought it could be useful

  1. Apply for a license from HAK5 C2
  2. Get a Public IP such as (64.15.17.23) for your server
  3. Get a public domain and point the dns record such as "cave.domain.com" to the IP 64.15.17.23
  4. Allow the DNS propagation to take plus I usually wait around 24 hours as Let's Encrypt DNS seems to be delayed a bit
  5. Ensure your servers firewall inbound rules allow "http (80) and https (443)" 
  6. Launch the C2 Servers on your box such as:  ./c2_community_linux64 -hostname "cave.domain.com" -https
  7. Take note of the setup token.  This will be used to validate the setup.

This will start the server and generate the configuration details and let's encrypt certificate within the database.

  1. Go to https://cave.domain.com
  2. Apply the setup token and the license key to the setup wizard and follow the steps.

 

Notes:

  • If you stop the server and relaunch it the "setup token" will not re-appear so be sure to write this down.  It is required during setup.
  • If you can't remember the setup token, stop the C2 Server and delete the c2.db file and start from step #6.
  • You can copy the device.config into the respected device's /etc/ folder , once rebooting the device it should re-connect to your C2 Cloud Network.
Edited by sweeper707
  • Like 3
Link to post
Share on other sites
5 hours ago, sweeper707 said:

I believe that is only needed for SSH Terminal.  

Correct. Rather than need a separate port for each device, all devices SSH back to C2 over 2022 by default. This can be configured with the -sshport argument.

Link to post
Share on other sites
  • 6 months later...
On 10/8/2018 at 4:47 PM, Darren Kitchen said:

Correct. Rather than need a separate port for each device, all devices SSH back to C2 over 2022 by default. This can be configured with the -sshport argument.

Once the device SSH’s back into C2, what would be the best way to create a reverse tunnel and access the pineapple GIU interface from another computer?

Link to post
Share on other sites
  • 6 months later...
  • 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.

Guest
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...