Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ShellManager ¶
ShellManager manages shell hook injection and removal
func NewShellManager ¶
func NewShellManager() *ShellManager
NewShellManager creates a new shell manager
func (*ShellManager) DisableAutoScan ¶
func (s *ShellManager) DisableAutoScan() error
DisableAutoScan disables auto-scan by removing shell hooks
func (*ShellManager) EnableAutoScan ¶
func (s *ShellManager) EnableAutoScan() error
EnableAutoScan enables auto-scan by injecting shell hooks
func (*ShellManager) GetStatus ¶
func (s *ShellManager) GetStatus() map[string]interface{}
GetStatus returns the current status of auto-scan hooks
func (*ShellManager) IsEnabled ¶
func (s *ShellManager) IsEnabled() bool
IsEnabled checks if auto-scan hooks are enabled
func (*ShellManager) PreviewHooks ¶
func (s *ShellManager) PreviewHooks() string
PreviewHooks returns the hooks that would be added without actually adding them
func (*ShellManager) PreviewRemoval ¶
func (s *ShellManager) PreviewRemoval() string
PreviewRemoval returns the hooks that would be removed without actually removing them
Click to show internal directories.
Click to hide internal directories.