{"id":50699832,"url":"https://github.com/matrixtm26/tomcat-c2-framework","last_synced_at":"2026-06-09T09:00:50.832Z","repository":{"id":361667714,"uuid":"1255085582","full_name":"MatrixTM26/TOMCAT-C2-Framework","owner":"MatrixTM26","description":"Command and Control server framework for managing remote agents. Built for red team simulation operations and research purposes.","archived":false,"fork":false,"pushed_at":"2026-06-08T07:44:38.000Z","size":183740,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-08T09:23:35.253Z","etag":null,"topics":["c2","c2-framework","hacking","java","redteaming","server"],"latest_commit_sha":null,"homepage":"https://matrixtm26.github.io/TOMCAT-C2-Framework/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MatrixTM26.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-31T11:41:29.000Z","updated_at":"2026-06-08T07:44:34.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/MatrixTM26/TOMCAT-C2-Framework","commit_stats":null,"previous_names":["matrixtm26/tomcat-c2-framework"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MatrixTM26/TOMCAT-C2-Framework","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatrixTM26%2FTOMCAT-C2-Framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatrixTM26%2FTOMCAT-C2-Framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatrixTM26%2FTOMCAT-C2-Framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatrixTM26%2FTOMCAT-C2-Framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MatrixTM26","download_url":"https://codeload.github.com/MatrixTM26/TOMCAT-C2-Framework/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatrixTM26%2FTOMCAT-C2-Framework/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34098952,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"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":["c2","c2-framework","hacking","java","redteaming","server"],"created_at":"2026-06-09T09:00:21.407Z","updated_at":"2026-06-09T09:00:50.816Z","avatar_url":"https://github.com/MatrixTM26.png","language":"Java","funding_links":["https://ko-fi.com/MatrixTM26","https://paypal.me/TeukuMaulana"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"doc/pages/public/logo.png\" width=\"50%\" height=\"auto\" alt=\"TOMCAT-C2 WEB UI\"\u003e\n\u003c/div\u003e\n\n# TOMCAT-C2-Framework\n\n![AGPL](https://img.shields.io/badge/AGPL-v3-000000?style=for-the-badge\u0026logo=gnu\u0026logoColor=ffffff\u0026labelColor=000000\u0026color=03001a)\n![OpenJDK](https://img.shields.io/badge/OpenJDK-17+-000000?style=for-the-badge\u0026logo=openjdk\u0026logoColor=ffee1a\u0026labelColor=000000\u0026color=03001a)\n![Red Teaming](https://img.shields.io/badge/RED%20TEAMING-000000?style=for-the-badge\u0026logo=keepassxc\u0026logoColor=ff0000\u0026labelColor=000000\u0026color=03001a)\n![Cyber Security](https://img.shields.io/badge/CYBER%20SECURITY-000000?style=for-the-badge\u0026logo=socket\u0026logoColor=009ceb\u0026labelColor=000000\u0026color=03001a)\n![Cryptography](https://img.shields.io/badge/CRYPTOGRAPHY-000000?style=for-the-badge\u0026logo=letsencrypt\u0026logoColor=0eff39\u0026labelColor=000000\u0026color=03001a)\n![Maven](https://img.shields.io/badge/Maven-000000?style=for-the-badge\u0026logo=apachemaven\u0026logoColor=ee6a2a\u0026labelColor=000000\u0026color=03001a)\n![Networking](https://img.shields.io/badge/Networking-000000?style=for-the-badge\u0026logo=cloudflare\u0026logoColor=26ff7d\u0026labelColor=000000\u0026color=03001a)\n\n\u003e **_Author:_** _MatrixTM26_ **_GitHub:_** _[MatrixTM26](https://github.com/MatrixTM26)_\n\n---\n\n## \u003cimg src=\"https://raw.githubusercontent.com/FortAwesome/Font-Awesome/6.x/svgs/solid/circle-info.svg\" width=\"18\"\u003e Overview\n\nTOMCAT C2 is a modular, enterprise-grade Command \u0026 Control framework written in Java. It supports multiple interface modes (Web, CLI, JavaFX GUI), mutual TLS authentication using PKCS12 keystores, AES-256-GCM encrypted agent communication, and multi-protocol session handling.\n\n### WEB UI\n\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"doc/pages/public/w1.png\" width=\"100%\" height=\"auto\" alt=\"TOMCAT-C2 WEB UI\"\u003e\n    \u003chr /\u003e\n    \u003cimg src=\"doc/pages/public/w2.png\" width=\"100%\" height=\"auto\" alt=\"TOMCAT-C2 WEB UI\"\u003e\n    \u003chr /\u003e\n    \u003cimg src=\"doc/pages/public/w3.png\" width=\"100%\" height=\"auto\" alt=\"TOMCAT-C2 WEB UI\"\u003e\n    \u003chr /\u003e\n    \u003cimg src=\"doc/pages/public/w4.png\" width=\"100%\" height=\"auto\" alt=\"TOMCAT-C2 WEB UI\"\u003e\n\u003c/div\u003e\n\n---\n\n## \u003cimg src=\"https://cdn.simpleicons.org/gnubash/ff0000\" width=\"18\"\u003e Features\n\n- **Multi-Interface Support** — Web Panel (HTTP), CLI, JavaFX GUI\n- **AES-256-GCM Encryption** — All agent communication is encrypted end-to-end\n- **Mutual TLS (mTLS)** — Agent authentication via PKCS12 certificates\n- **Multi-Protocol Sessions** — TOMCAT agents, Meterpreter, Reverse Shells\n- **Certificate Manager** — Full CA, server, and agent cert lifecycle management\n- **File Transfer** — Upload and download files to/from agents\n- **Session Management** — Thread-safe concurrent session handling\n- **Event System** — Decoupled event-driven architecture\n- **Cross-Platform** — Runs on Windows, Linux, macOS via JVM\n- **Configurable** — All settings via `server.properties`\n\n---\n\n## \u003cimg src=\"https://cdn.simpleicons.org/gnubash/ff0000\" width=\"18\"\u003e Installation \u0026 Usage\n\n### 1. Clone the Repository\n\n- MAIN\n    \u003e For normal usage, clone branch main\n\n```bash\ngit clone --branch main https://github.com/MatrixTM26/TOMCAT-C2-Framework\ncd TOMCAT-C2-Framework\n```\n\n- DEV\n    \u003e For contribution commit, pull request and development, push to branch dev\n\n```bash\ngit clone --branch dev https://github.com/MatrixTM26/TOMCAT-C2-Framework\ncd TOMCAT-C2-Framework\n```\n\n- MASTER\n    \u003e Only for owner/admin commit, pull request and development\n\n### 2. Build the Project\n\n#### Ready to use (Already compiled)\n\n\u003e Ready to use build (created by github action and ready to run file). located at `output/tomcat-c2.jar`\n\n```bash\njava -jar output/tomcat-c2.jar\n```\n\n[![Download JAR](https://img.shields.io/badge/Download%20Latest%20JAR-000000?style=for-the-badge\u0026logo=electron\u0026logoColor=07ff18\u0026labelColor=000000\u0026color=03001a)](https://github.com/MatrixTM26/TOMCAT-C2-Framework/releases/latest/download/tomcat-c2.jar)\n\n#### Manual compile\n\n\u003e General Build\n\n```bash\nmvn clean package -q\n```\n\n\u003e Specific Build\n\n- **Linux \u0026 Termux**\n\n    ```bash\n    mvn clean package -Djavafx.platform=linux -q\n    ```\n\n- **Windows**\n\n    ```bash\n    mvn clean package -Djavafx.platform=windows -q\n    ```\n\n- **MacOS**\n\n    ```bash\n    mvn clean package -Djavafx.platform=macos -q\n    ```\n\n- **BSD**\n    ```bash\n    mvn clean package -Djavafx.platform=openbsd -q\n    ```\n\n### 3. Run the Server\n\n```bash\n# Web Panel Mode (Default)\njava -jar target/tomcat-c2.jar\n\n# CLI Mode\njava -jar target/tomcat-c2.jar -C\n\n# JavaFX GUI Mode\njava -jar target/tomcat-c2.jar -G\n```\n\n---\n\n## \u003cimg src=\"https://raw.githubusercontent.com/FortAwesome/Font-Awesome/6.x/svgs/solid/key.svg\" width=\"18\"\u003e Certificate Management (MTLS)\n\n### Initialize CA and Server Certificate\n\n```bash\njava -jar target/tomcat-c2.jar --init-certs\n```\n\n### Generate Agent Certificates\n\n```bash\n# Single Agent\njava -jar target/tomcat-c2.jar \\\n  -a myagent -ah 192.168.1.10 -ap 4444 -am\n\n# Multiple Agents\njava -jar target/tomcat-c2.jar \\\n  -m -c 10 -u team -ah 192.168.1.10 -ap 4444 -am\n```\n\n---\n\n## \u003cimg src=\"https://cdn.simpleicons.org/gnubash/ff0000\" width=\"18\"\u003e Command Line Arguments\n\n| Option                  | Description                               |\n| ----------------------- | ----------------------------------------- |\n| `-S, --host \u003caddr\u003e`     | C2 server bind address (default: 0.0.0.0) |\n| `-p, --port \u003cport\u003e`     | Web panel port (default: 5000)            |\n| `-T, --mtls`            | Enable Mutual TLS authentication          |\n| `-M, --meterpreter`     | Enable multi-protocol mode                |\n| `-C, --cli-mode`        | Start in CLI interface mode               |\n| `-G, --gui-mode`        | Start in JavaFX GUI mode                  |\n| `--init-certs`          | Initialize CA and server certificates     |\n| `-a, --gen-agent \u003cid\u003e`  | Generate single agent certificate         |\n| `-m, --gen-multi-agent` | Generate multiple agent certificates      |\n| `-l, --list-agents`     | List all generated agents                 |\n\n---\n\n## \u003cimg src=\"https://raw.githubusercontent.com/FortAwesome/Font-Awesome/6.x/svgs/solid/circle-info.svg\" width=\"18\"\u003e Interface Modes\n\n- **Web Panel** — Access via browser at `http://localhost:5000`\n- **CLI Mode** — Powerful terminal interface (`-C`)\n- **JavaFX GUI** — Full desktop application with sidebar navigation (`-G`)\n\n---\n\n## \u003cimg src=\"https://raw.githubusercontent.com/FortAwesome/Font-Awesome/6.x/svgs/solid/shield-halved.svg\" width=\"18\"\u003e Security Features\n\n- **AES-256-GCM** encryption for all agent communication\n- **Mutual TLS (mTLS)** with PKCS12 keystores\n- Full certificate lifecycle management (CA → Server → Agent)\n\n---\n\n## \u003cimg src=\"https://cdn.simpleicons.org/readme/ff0000\" width=\"18\"\u003e Documentation\n\n- **Open:** [Sites](https://matrixtm26.github.io/TOMCAT-C2-Framework)\n\n## \u003cimg src=\"https://cdn.simpleicons.org/github/ff0000\" width=\"18\"\u003e Credit\n\n- **Author:** [@MatrixTM26](https://github.com/MatrixTM26)\n- **License:** [AGPL-V3](./LICENSE)\n\n## \u003cimg src=\"https://cdn.simpleicons.org/githubsponsors/ff0000\" width=\"18\"\u003e Support Me\n\n[![Ko-fi](https://img.shields.io/badge/KO--FI-000000?style=for-the-badge\u0026logo=kofi\u0026logoColor=fff707)](https://ko-fi.com/MatrixTM26)\n[![Trakteer](https://img.shields.io/badge/TRAKTEER-000000?style=for-the-badge\u0026logo=buymeacoffee\u0026logoColor=ff6a6a)](https://trakteer.id/MatrixTM26)\n[![PayPal](https://img.shields.io/badge/PAYPAL-000000?style=for-the-badge\u0026logo=paypal\u0026logoColor=0000ff)](https://paypal.me/TeukuMaulana)\n\n---\n\n\u003cp align=\"center\"\u003eCopyright \u0026copy;2023-2026 MatrixTM26 \u0026middot; All Rights Reserved\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatrixtm26%2Ftomcat-c2-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatrixtm26%2Ftomcat-c2-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatrixtm26%2Ftomcat-c2-framework/lists"}