{"id":31767886,"url":"https://github.com/webdevtodayjason/hak5-c2-startup","last_synced_at":"2025-10-10T01:48:44.679Z","repository":{"id":261105245,"uuid":"883285255","full_name":"webdevtodayjason/hak5-c2-startup","owner":"webdevtodayjason","description":"his script will create and start the server in a new tmux session if one does not already exist. It also provides the session name and instructions for reconnecting. ","archived":false,"fork":false,"pushed_at":"2024-11-04T17:53:56.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-06T01:30:31.757Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webdevtodayjason.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-04T17:39:49.000Z","updated_at":"2024-11-04T17:53:59.000Z","dependencies_parsed_at":"2024-11-04T18:39:27.547Z","dependency_job_id":null,"html_url":"https://github.com/webdevtodayjason/hak5-c2-startup","commit_stats":null,"previous_names":["webdevtodayjason/hak5-c2-startup"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/webdevtodayjason/hak5-c2-startup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevtodayjason%2Fhak5-c2-startup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevtodayjason%2Fhak5-c2-startup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevtodayjason%2Fhak5-c2-startup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevtodayjason%2Fhak5-c2-startup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webdevtodayjason","download_url":"https://codeload.github.com/webdevtodayjason/hak5-c2-startup/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevtodayjason%2Fhak5-c2-startup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002400,"owners_count":26083375,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-10T01:48:35.398Z","updated_at":"2025-10-10T01:48:44.674Z","avatar_url":"https://github.com/webdevtodayjason.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hak5 Cloud C2 Server Starter Script\n\n## Overview\nThis project provides an easy-to-use shell script for starting the Hak5 Cloud C2 Server with the flexibility of configuration through an external file. The script uses `tmux` to run the server in a persistent session, allowing for easy management and reconnection.\n\nHak5 Cloud C² simplifies deployment and management for penetration testers and IT security teams, enabling control of Hak5 devices from a central cloud dashboard.\n\n**Documentation:** [Hak5 Cloud C2 Docs](https://docs.hak5.org/cloud-c2)\n\n**Repository:** [GitHub - hak5-c2-startup](https://github.com/webdevtodayjason/hak5-c2-startup.git)\n\n## Features\n- Starts the Hak5 Cloud C2 Server in a dedicated `tmux` session.\n- Reads configuration parameters from an external `c2_server_config.conf` file.\n- Supports optional SSL configuration with a simple switch.\n- Provides instructions for reconnecting to the `tmux` session.\n\n## Installation\n1. Clone this repository:\n   ```bash\n   git clone https://github.com/webdevtodayjason/hak5-c2-startup.git\n   cd hak5-c2-startup\n   ```\n2. Make the script executable:\n   ```bash\n   chmod +x start_c2_server.sh\n   ```\n3. Create a configuration file named `c2_server_config.conf` in the same directory.\n\n## Configuration\nCreate a `c2_server_config.conf` file with the following content:\n\n```bash\n# Configuration file for starting the Hak5 Cloud C2 Server\n\n# Hostname (if applicable)\nHOSTNAME=c2.YOURDOMAIN.COM\n\n# SSL flag (Y for SSL, N for no SSL)\nSSL=Y\n```\n\n## Usage\nRun the script with:\n```bash\n./start_c2_server.sh\n```\n\n### Reconnecting to the Session\nTo attach to the running `tmux` session, use:\n```bash\ntmux attach-session -t c2_server_session\n```\n\nTo detach from the session while keeping it running, press:\n```\nCtrl + b, then d\n```\n\n## License\nThis project is open-source and available under the [MIT License](LICENSE).\n\n## Contributing\nFeel free to open issues or submit pull requests for any improvements or fixes.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdevtodayjason%2Fhak5-c2-startup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebdevtodayjason%2Fhak5-c2-startup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdevtodayjason%2Fhak5-c2-startup/lists"}