Skip to content

Add GitHub Actions integration test workflow#2

Merged
TheGr3atJosh merged 1 commit into
mainfrom
feat/ci
Apr 29, 2026
Merged

Add GitHub Actions integration test workflow#2
TheGr3atJosh merged 1 commit into
mainfrom
feat/ci

Conversation

@TheGr3atJosh
Copy link
Copy Markdown
Owner

Runs on windows-latest. AdaptixC2 C2 server and the testing kit run inside WSL2 (Ubuntu 24.04); a beacon agent is delivered and started on the Windows host via SSH.

Setup:

  • Creates a CI user (ci_runner) with OpenSSH key-based auth
  • Disables Defender and opens the callback port
  • Builds AdaptixC2 from source (no release tags needed)
  • Builds Extension-Kit from dev branch + PR #139 fix
  • Generates a self-signed TLS cert for the server
  • Installs adaptix-testing via uv

Networking:

  • Detects WSL2 NAT vs mirrored mode at runtime
  • NAT: uses WSL eth0 IP for beacon callbacks (direct), WSL default gateway for SSH (correct Windows IP from inside WSL)
  • Mirrored: uses 127.0.0.1 for both

CI config and tasks live in .github/ci/ alongside the server profile. Extension point comments document how to swap agents or add kits.

Runs on windows-latest. AdaptixC2 C2 server and the testing kit run
inside WSL2 (Ubuntu 24.04); a beacon agent is delivered and started on
the Windows host via SSH.

Setup:
- Creates a CI user (ci_runner) with OpenSSH key-based auth
- Disables Defender and opens the callback port
- Builds AdaptixC2 from source (no release tags needed)
- Builds Extension-Kit from dev branch + PR #139 fix
- Generates a self-signed TLS cert for the server
- Installs adaptix-testing via uv

Networking:
- Detects WSL2 NAT vs mirrored mode at runtime
- NAT: uses WSL eth0 IP for beacon callbacks (direct), WSL default
  gateway for SSH (correct Windows IP from inside WSL)
- Mirrored: uses 127.0.0.1 for both

CI config and tasks live in .github/ci/ alongside the server profile.
Extension point comments document how to swap agents or add kits.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@TheGr3atJosh TheGr3atJosh merged commit 54e76cb into main Apr 29, 2026
5 checks passed
@TheGr3atJosh TheGr3atJosh deleted the feat/ci branch April 30, 2026 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant