Jump to content

cr38g

Active Members
  • Posts

    50
  • Joined

  • Last visited

Everything posted by cr38g

  1. I decided to reinstall everything on the Pineapple Mark VII and the server. Now, everything seems to work. Sometimes, when I connect to my webpage, it looks like it's offline, but after some minutes, it's online. Thank you for your help and patience.
  2. After Cloud C2 installation I ran the command; ".c2-3.3.0_amd64_linux -hostname mypage.com -https." 1. Everything went fine. I went to mypage.com 2. Hak5 Cloud C2 page appeared entered all the information required. 3. Download the device.conf file and install it in the MKVII. 4. I set the server to auto-reboot service; sudo mv c2-3.2.0_amd64_linux /usr/local/bin sudo mkdir /var/cloudc2 sudo mv c2.db /var/cloudc2/ sudo vi /etc/systemd/system/cloudc2.service Created a c2.db file; [Unit] Description=Hak5 Cloud C2 After=cloudc2.service [Service] Type=idle ExecStart=/usr/local/bin/c2-3.2.0_amd64_linux -hostname mypage.com -https -db /var/cloudc2/c2.db [Install] WantedBy=multi-user.target Then Reload, enable and reboot with; sudo systemctl daemon-reload sudo systemctl enable cloudc2.service sudo systemctl start cloudc2.service sudo systemctl status cloudc2.service Everything worked great until I tried to connect for the second time. I came across this error; Mar 01 15:49:57 ip-x.x.x.x c2-3.3.0_amd64_linux[722]: 2024/03/01 15:49:57 http: TLS handshake error from x.x.x.x:36570: acme/autocert: host "x.x.x.x" not configured in HostWhitelist "Also, you've posted about something very similar recently in another thread. In that thread you posted that you got a solution. Didn't that solution work?" I did when I updated the firmware on the MKVII. Thanks for asking. Thank you for reminding me to be cautious of what information to share. I do not know why I am getting this error when nothing has changed on the setup. P.S. Sorry, I couldn't find a way to change the topic name. It was not intentional.
  3. Greetings, Everything went well after installing Cloud C2, getting the server to auto-service after reboot, and running services. When I tried to connect for the second time, it said on the Cloud C2 MKVII side, offline "gray button." When checking the system status with "sudo systemctl status cloudc2.service." Mar 01 15:49:57 ip-x.x.x.x c2-3.3.0_amd64_linux[722]: 2024/03/01 15:49:57 http: TLS handshake error from x.x.x.x:36570: acme/autocert: host "x.x.x.x" not configured in HostWhitelist Thank you for any assistance.
  4. Why I did not think of that... 😞 That work! You are a life savior, sir!
  5. When running this command "./c2-3.3.0_amd64_linux -hostname mywebpage.com -https" on my AWS server for the first time, I got this error: [*] Initializing Hak5 Cloud C2 v3.3.0 [*] Hostname: mywebpage.com [*] DB Path: c2.db [*] First Start. Initializing... [*] Initial Setup Required - Setup token: THIS-IS-MY-TOKEN [*] Running Hak5 Cloud C2 [!] Webserver failed to start: listen tcp 0.0.0.0:80: bind: permission denied [*] Shutting down gracefully [*] Server stopped My AWS server has the IPv4 and IPv6 firewall set as: Thank you for any assistance.
  6. The problem was fixed when I reinstalled the Pineapple Mark VII firmware 2.1.3 🙂
  7. So, I did the steps recommended from the post you provided me; as you can see, after I logged in to the Cloud C2 webpage, I had an online indicator, as you can see in the 1st screenshot (Green Button). But as soon I clicked on my Pineapple Marck VII, I got an offline Status and the green button turned grayed; as you can see on the 2nd screenshot.
  8. I will try the suggestion to see if it fixes my problem. Thank you for the information.
  9. I don't need to have the Pineapple web interface open. In my case, I just go to my DNS webpage to connect to to my server, but the problem is that my server is not connecting to my remote Pineapple Mark VII.
  10. It just now, it showed online and when I click on the device and move to the other page it showed offline. Grrrrrrr!!!!
  11. When I type my website, it shows me the Cloud C2 login page. When I logged in, it showed me the device, in my case the Pineapple Mark VII, but it shows offline. The communication between my AWS server and my website service is there. Somehow the communication between my Amazon AWS server and my Pineapple Mark VII is not there. I'm scratching my head. 😞
  12. I did installed it into the Pineapple Mark VII's root directory. The Pineapple have Internet access.
  13. When I login into my Cloud C2 page, it list my Mark VII device, it shows the device is offline. Somehow my server is not seeing my device. So I believe the way that it should work is... 1. DNS (my website) sees my... 2. Amazon AWS server which sees my... 3. Cloud C2 Login page, and then I can access my... 4. Mark VII Am I right or not?
  14. I just noticed that when I go to my Public static IP address from the Amazon AWS server, it does not connect to my website, even though my website is attached to the Amazon AWS Public static IP. I think this is the culprit. When I go to my website, it shows the Cloud C2 login page. I can login, but it show offline from my Mark VII. What you think?
  15. Is this what you are referring as the service file? This is the file that I use to start hak5 service.
  16. You are correct. I thought it should read the same time as mine, but I just realize the server is in another State. So, why are I am getting now a Dependency After=hak5.service dropped? Is this another problem additional from the handshake error?
  17. Sorry for the delay. There no changes on the time. I stopped the service and restart it.
  18. dark_pyrro, I don't understand your question. Please, explain it in simple terms, I am not an expert. Thank you very much for helping.
  19. Yes, the "website.com" is not my real one. The DNS A TTL record is linked to my Amazon VPS public IP address.
  20. Hak5 C2 Service is running, but I am getting this server connection error, and TLS handshake error. Every command was entered correctly, but don't know what it means. *** System restart required *** Last login: Mon Oct 23 18:42:02 2023 from 72.21.217.109 ubuntu@ip-XX.XXX.XXX.XXX:~$ sudo systemctl status hak5.service ● hak5.service - Hak5 C2 Loaded: loaded (/etc/systemd/system/hak5.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2023-10-23 02:07:40 UTC; 16h ago Main PID: 45391 (c2-3.3.0_amd64_) Tasks: 18 (limit: 1134) Memory: 26.7M CGroup: /system.slice/hak5.service ├─45391 /usr/local/bin/c2-3.3.0_amd64_linux -hostname website.com -https -db /var/hak5c2/c2.db └─45400 /usr/local/bin/c2-3.3.0_amd64_linux -hostname website.com -https -db /var/hak5c2/c2.db Oct 23 18:57:09 ip-XX.XXX.XXX.XXX c2-3.3.0_amd64_linux[45400]: 2023/10/23 18:57:09 http2: server connection error from XX.XXX.XXX.XXX:53119: connection error: PROTOCOL_ERROR Oct 23 18:57:09 ip-XX.XXX.XXX.XXX c2-3.3.0_amd64_linux[45400]: 2023/10/23 18:57:09 http2: server connection error from XX.XXX.XXX.XXX:53119: connection error: PROTOCOL_ERROR Oct 23 18:57:09 ip-XX.XXX.XXX.XXX c2-3.3.0_amd64_linux[45400]: 2023/10/23 18:57:09 http2: server connection error from XX.XXX.XXX.XXX:53119: connection error: PROTOCOL_ERROR Oct 23 18:57:09 ip-XX.XXX.XXX.XXX c2-3.3.0_amd64_linux[45400]: 2023/10/23 18:57:09 http2: server connection error from XX.XXX.XXX.XXX:53119: connection error: PROTOCOL_ERROR Oct 23 18:58:29 ip-XX.XXX.XXX.XXX c2-3.3.0_amd64_linux[45400]: 2023/10/23 18:58:29 http: TLS handshake error from XX.XXX.XXX.XXX:47059: acme/autocert: missing server name Oct 23 18:59:09 ip-XX.XXX.XXX.XXX c2-3.3.0_amd64_linux[45400]: 2023/10/23 18:59:09 http2: server connection error from XX.XXX.XXX.XXX:53219: connection error: PROTOCOL_ERROR Oct 23 18:59:09 ip-XX.XXX.XXX.XXX c2-3.3.0_amd64_linux[45400]: 2023/10/23 18:59:09 http2: server connection error from XX.XXX.XXX.XXX:53219: connection error: PROTOCOL_ERROR Oct 23 18:59:09 ip-XX.XXX.XXX.XXX c2-3.3.0_amd64_linux[45400]: 2023/10/23 18:59:09 http2: server connection error from XX.XXX.XXX.XXX:53219: connection error: PROTOCOL_ERROR Oct 23 18:59:09 ip-XX.XXX.XXX.XXX c2-3.3.0_amd64_linux[45400]: 2023/10/23 18:59:09 http2: server connection error from XX.XXX.XXX.XXX:53219: connection error: PROTOCOL_ERROR Oct 23 19:03:37 ip-XX.XXX.XXX.XXX c2-3.3.0_amd64_linux[45400]: 2023/10/23 19:03:37 http: TLS handshake error from XX.XXX.XXX.XXX:50470: acme/autocert: host "XX.XXX.XXX.XXX" not co>
  21. Greetings, What was the answer to the question "How do I upgrade my cloud server?". I am in the same situation. Thank you for any assistance.
×
×
  • Create New...