Documentation
¶
Index ¶
- type CommandObfuscator
- type FileHider
- type Module
- func (m *Module) ApplyFullAnonymization() error
- func (m *Module) CleanLogFile(logPath string, pattern string) error
- func (m *Module) DeobfuscateNetworkTraffic(obfuscated []byte) []byte
- func (m *Module) DisableHistory() error
- func (m *Module) EncodeCommand(command string) string
- func (m *Module) ExecuteCommand(command string, args []string) (interface{}, error)
- func (m *Module) GenerateHackShellScript(outputPath string) error
- func (m *Module) GetAnonymizationStatus() map[string]interface{}
- func (m *Module) GetInfo() *module.ModuleInfo
- func (m *Module) HideConnection(port int) error
- func (m *Module) HideCurrentProcess(newName string) error
- func (m *Module) HideFile(path string) error
- func (m *Module) HideFromPS() error
- func (m *Module) HideProcess(pid int, newName string) error
- func (m *Module) Initialize() error
- func (m *Module) ObfuscateCommand(command string) string
- func (m *Module) ObfuscateNetworkTraffic(data []byte) []byte
- func (m *Module) RestoreHistory() error
- func (m *Module) SecureDelete(path string) error
- func (m *Module) SetupHackShell() error
- type NetworkHider
- func (n *NetworkHider) CreateDNSTunnel(domain string) string
- func (n *NetworkHider) DeobfuscateNetworkTraffic(obfuscated []byte) []byte
- func (n *NetworkHider) FindCommonPort() (int, error)
- func (n *NetworkHider) GetNetworkHidingTips() []string
- func (n *NetworkHider) GetOpenPorts(host string, startPort, endPort int) []int
- func (n *NetworkHider) HideConnection(port int) error
- func (n *NetworkHider) HideFromNetstat(port int) error
- func (n *NetworkHider) IsPortOpen(host string, port int) bool
- func (n *NetworkHider) ObfuscateNetworkTraffic(data []byte) []byte
- func (n *NetworkHider) SetObfuscationKey(key []byte)
- type ProcessHider
- type ShellAnonymizer
- func (s *ShellAnonymizer) DisableHistory() error
- func (s *ShellAnonymizer) ExecuteHiddenCommand(command string) (string, error)
- func (s *ShellAnonymizer) GenerateHackShellScript() string
- func (s *ShellAnonymizer) GetHiddenCommandTips() []string
- func (s *ShellAnonymizer) GetNetworkHidingTips() []string
- func (s *ShellAnonymizer) HideProcessName(pid int, newName string) error
- func (s *ShellAnonymizer) RestoreHistory() error
- func (s *ShellAnonymizer) SetSecurePrompt(prompt string)
- func (s *ShellAnonymizer) SetSecureTempDir() error
- func (s *ShellAnonymizer) SetupHackShell() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandObfuscator ¶
type CommandObfuscator struct {
}
func NewCommandObfuscator ¶
func NewCommandObfuscator() *CommandObfuscator
func (*CommandObfuscator) EncodeCommand ¶
func (c *CommandObfuscator) EncodeCommand(command string) string
func (*CommandObfuscator) GetCommandObfuscationTips ¶
func (c *CommandObfuscator) GetCommandObfuscationTips() []string
func (*CommandObfuscator) HideCommandOptions ¶
func (c *CommandObfuscator) HideCommandOptions(command string, options map[string]string) string
func (*CommandObfuscator) ObfuscateCommand ¶
func (c *CommandObfuscator) ObfuscateCommand(command string) string
type FileHider ¶
type FileHider struct {
}
func NewFileHider ¶
func NewFileHider() *FileHider
func (*FileHider) CleanLogFile ¶
func (*FileHider) GetFileHidingTips ¶
func (*FileHider) SecureDelete ¶
type Module ¶
type Module struct {
Name string
Version string
Description string
Author string
// contains filtered or unexported fields
}
func (*Module) ApplyFullAnonymization ¶
func (*Module) DeobfuscateNetworkTraffic ¶
func (*Module) DisableHistory ¶
func (*Module) EncodeCommand ¶
func (*Module) ExecuteCommand ¶
func (*Module) GenerateHackShellScript ¶
func (*Module) GetAnonymizationStatus ¶
func (*Module) GetInfo ¶
func (m *Module) GetInfo() *module.ModuleInfo
func (*Module) HideConnection ¶
func (*Module) HideCurrentProcess ¶
func (*Module) HideFromPS ¶
func (*Module) Initialize ¶
func (*Module) ObfuscateCommand ¶
func (*Module) ObfuscateNetworkTraffic ¶
func (*Module) RestoreHistory ¶
func (*Module) SecureDelete ¶
func (*Module) SetupHackShell ¶
type NetworkHider ¶
type NetworkHider struct {
// contains filtered or unexported fields
}
func NewNetworkHider ¶
func NewNetworkHider() *NetworkHider
func (*NetworkHider) CreateDNSTunnel ¶
func (n *NetworkHider) CreateDNSTunnel(domain string) string
func (*NetworkHider) DeobfuscateNetworkTraffic ¶
func (n *NetworkHider) DeobfuscateNetworkTraffic(obfuscated []byte) []byte
func (*NetworkHider) FindCommonPort ¶
func (n *NetworkHider) FindCommonPort() (int, error)
func (*NetworkHider) GetNetworkHidingTips ¶
func (n *NetworkHider) GetNetworkHidingTips() []string
func (*NetworkHider) GetOpenPorts ¶
func (n *NetworkHider) GetOpenPorts(host string, startPort, endPort int) []int
func (*NetworkHider) HideConnection ¶
func (n *NetworkHider) HideConnection(port int) error
func (*NetworkHider) HideFromNetstat ¶
func (n *NetworkHider) HideFromNetstat(port int) error
func (*NetworkHider) IsPortOpen ¶
func (n *NetworkHider) IsPortOpen(host string, port int) bool
func (*NetworkHider) ObfuscateNetworkTraffic ¶
func (n *NetworkHider) ObfuscateNetworkTraffic(data []byte) []byte
func (*NetworkHider) SetObfuscationKey ¶
func (n *NetworkHider) SetObfuscationKey(key []byte)
type ProcessHider ¶
type ProcessHider struct {
}
func NewProcessHider ¶
func NewProcessHider() *ProcessHider
func (*ProcessHider) GetProcessHidingTips ¶
func (p *ProcessHider) GetProcessHidingTips() []string
func (*ProcessHider) HideCurrentProcess ¶
func (p *ProcessHider) HideCurrentProcess(newName string) error
func (*ProcessHider) HideFromPS ¶
func (p *ProcessHider) HideFromPS() error
func (*ProcessHider) HideProcess ¶
func (p *ProcessHider) HideProcess(pid int, newName string) error
type ShellAnonymizer ¶
type ShellAnonymizer struct {
// contains filtered or unexported fields
}
func NewShellAnonymizer ¶
func NewShellAnonymizer() *ShellAnonymizer
func (*ShellAnonymizer) DisableHistory ¶
func (s *ShellAnonymizer) DisableHistory() error
func (*ShellAnonymizer) ExecuteHiddenCommand ¶
func (s *ShellAnonymizer) ExecuteHiddenCommand(command string) (string, error)
func (*ShellAnonymizer) GenerateHackShellScript ¶
func (s *ShellAnonymizer) GenerateHackShellScript() string
func (*ShellAnonymizer) GetHiddenCommandTips ¶
func (s *ShellAnonymizer) GetHiddenCommandTips() []string
func (*ShellAnonymizer) GetNetworkHidingTips ¶
func (s *ShellAnonymizer) GetNetworkHidingTips() []string
func (*ShellAnonymizer) HideProcessName ¶
func (s *ShellAnonymizer) HideProcessName(pid int, newName string) error
func (*ShellAnonymizer) RestoreHistory ¶
func (s *ShellAnonymizer) RestoreHistory() error
func (*ShellAnonymizer) SetSecurePrompt ¶
func (s *ShellAnonymizer) SetSecurePrompt(prompt string)
func (*ShellAnonymizer) SetSecureTempDir ¶
func (s *ShellAnonymizer) SetSecureTempDir() error
func (*ShellAnonymizer) SetupHackShell ¶
func (s *ShellAnonymizer) SetupHackShell() error
Click to show internal directories.
Click to hide internal directories.