24 lines
555 B
Go
24 lines
555 B
Go
//go:build !windows || !overlord_winre
|
|
// +build !windows !overlord_winre
|
|
|
|
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 {
|
|
return fmt.Errorf("WinRE persistence is not enabled on this client")
|
|
}
|
|
|
|
func handleWinREUninstall(ctx context.Context, env *runtime.Env, cmdID string) error {
|
|
return fmt.Errorf("WinRE persistence is not enabled on this client")
|
|
}
|
|
|
|
func WinRESupported() bool {
|
|
return false
|
|
}
|