2026-06-06 23:34:44 -05:00
|
|
|
//go:build !windows || !overlord_winre
|
|
|
|
|
// +build !windows !overlord_winre
|
2026-03-29 00:46:18 -05:00
|
|
|
|
|
|
|
|
package handlers
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"context"
|
|
|
|
|
"fmt"
|
|
|
|
|
|
|
|
|
|
"overlord-client/cmd/agent/runtime"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func handleWinREInstall(ctx context.Context, env *runtime.Env, cmdID string, filePath string, useSelf bool) error {
|
2026-06-06 23:34:44 -05:00
|
|
|
return fmt.Errorf("WinRE persistence is not enabled on this client")
|
2026-03-29 00:46:18 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func handleWinREUninstall(ctx context.Context, env *runtime.Env, cmdID string) error {
|
2026-06-06 23:34:44 -05:00
|
|
|
return fmt.Errorf("WinRE persistence is not enabled on this client")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func WinRESupported() bool {
|
|
|
|
|
return false
|
2026-03-29 00:46:18 -05:00
|
|
|
}
|