{"id":26720242,"url":"https://github.com/captain-woof/hydrangea-c2","last_synced_at":"2026-02-18T07:31:20.238Z","repository":{"id":284237358,"uuid":"924231855","full_name":"captain-woof/Hydrangea-C2","owner":"captain-woof","description":"A cross-platform, collaborative C2 for red-teaming. Agents are cross-compilable (e.g, you can generate Windows DLLs on Linux), cross-compatible, and built with evasion, anti-analysis and stability in mind. All capabilities are natively implemented from scratch.","archived":false,"fork":false,"pushed_at":"2025-03-02T15:59:07.000Z","size":6353,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T22:02:34.162Z","etag":null,"topics":["c2","malware-development","pentest-tool","red-team","red-team-tools","windows-internals"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/captain-woof.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":"2025-01-29T16:41:03.000Z","updated_at":"2025-03-11T23:12:42.000Z","dependencies_parsed_at":"2025-03-24T22:12:43.776Z","dependency_job_id":null,"html_url":"https://github.com/captain-woof/Hydrangea-C2","commit_stats":null,"previous_names":["captain-woof/hydrangea-c2"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captain-woof%2FHydrangea-C2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captain-woof%2FHydrangea-C2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captain-woof%2FHydrangea-C2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captain-woof%2FHydrangea-C2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/captain-woof","download_url":"https://codeload.github.com/captain-woof/Hydrangea-C2/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248824665,"owners_count":21167343,"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","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":["c2","malware-development","pentest-tool","red-team","red-team-tools","windows-internals"],"created_at":"2025-03-27T18:33:03.723Z","updated_at":"2026-02-18T07:31:20.232Z","avatar_url":"https://github.com/captain-woof.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hydrangea C2\n\n![hydrangea](https://github.com/user-attachments/assets/8bdca96f-cb1a-4338-bfdd-d6a1c6abe0b8)\n\n## Components\n\n### Team server\n\nTeam server (`team-server/main.py`) mediates between agents, listeners and clients.\n\n### Client\n\nClient (`client/main.py`) is the client to use to connect to Team server.\n\n### Listener\n\nListeners (`team-server/listeners/*.py`) are scripts that start a server, intended to receive communication from agents. They are part of team server since they are started on team server.\n\n### Database\n\nThere's a MySQL database in `team-server/database` that needs to be setup with docker. This database stores all necessary persistent information.\n\n## Team server guide\n\n**Note: All team server stuff is in `team-server/` directory. Unless otherwise stated, use this folder as your current directory when starting the team server.**\n\n### Environment variables\n\nCreate a `.env` file (use `.env.example` as a template) for usage.\n\n### Starting MySQL database\n\nOnce done, start the database:\n\n```bash\ndocker compose up -f ./database/compose.yaml -d # starts MySQL in a docker and performs database setup\n```\n\nThis starts a local (`127.0.0.1:3306`) MySQL database, with your chosen username and password in `.env`. Use this if you need to manually interact with the database.\n\n### Starting team server\n\n```bash\npython3 -m virtualenv venv\nsource ./venv/bin/activate\n\npython3 ./main.py -H 127.0.0.1 -P 6060\n```\n\n### Stopping team server\n\n```bash\nCtrl + C # yes, just interrupt\n```\n\n### Stopping MySQL database\n\n```bash\ndocker compose down -f ./database/compose.yaml -d\n```\n\n### Removing MySQL volume\n\n```bash\nsudo docker volume rm team-server_hydrangea-mysql # remove MySQL's docker volume\n```\n\n## Client guide\n\n**Note: All client stuff is in `client/` directory. Unless otherwise stated, use this folder as your current directory when starting the client.**\n\n### Starting client\n\n```bash\npython3 ./main.py -H 127.0.0.1 -P 6060\n```\n\nAt any point, invoke `help` command to see available commands. These commands are also listed below.\n\n### Administration commands\n\nEnter the `admin` context with below command first:\n\n```\nUSER@xx.xx.xx.xx:xx \u003e context admin\n```\n\n**Create new user**\n\n```\nUSER@xx.xx.xx.xx:xx \u003e Admin \u003e newuser USERNAME PASSWORD ROLE\n```\n\n*Remember: Usernames are unique*\n\n**Edit existing user's username**\n\n```\nUSER@xx.xx.xx.xx:xx \u003e Admin \u003e editusername USERNAME NEW_USERNAME\n```\n\n**Edit existing user's password**\n\n```\nUSER@xx.xx.xx.xx:xx \u003e Admin \u003e editpassword USERNAME NEW_PASSWORD\n```\n\n**Edit existing user's role**\n\n```\nUSER@xx.xx.xx.xx:xx \u003e Admin \u003e editrole USERNAME NEW_ROLE\n```\n\n**Delete existing user**\n\n```\nUSER@xx.xx.xx.xx:xx \u003e Admin \u003e deluser USERNAME\n```\n\n### Listener commands\n\n### Agent commands\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptain-woof%2Fhydrangea-c2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaptain-woof%2Fhydrangea-c2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptain-woof%2Fhydrangea-c2/lists"}