optional winre and winre probe
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//go:build !windows
|
||||
// +build !windows
|
||||
//go:build !windows || !overlord_winre
|
||||
// +build !windows !overlord_winre
|
||||
|
||||
package handlers
|
||||
|
||||
@@ -11,9 +11,13 @@ import (
|
||||
)
|
||||
|
||||
func handleWinREInstall(ctx context.Context, env *runtime.Env, cmdID string, filePath string, useSelf bool) error {
|
||||
return fmt.Errorf("WinRE persistence is only supported on Windows")
|
||||
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 only supported on Windows")
|
||||
return fmt.Errorf("WinRE persistence is not enabled on this client")
|
||||
}
|
||||
|
||||
func WinRESupported() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user