Documentation ¶
Index ¶
- type AdvancedAgentConfiguration
- type Agent
- func (o *Agent) GetAdvancedConfiguration() AdvancedAgentConfiguration
- func (o *Agent) GetCPUOnly() bool
- func (o *Agent) GetClientSignature() string
- func (o *Agent) GetCommandParameters() *string
- func (o *Agent) GetDevices() []string
- func (o *Agent) GetID() int64
- func (o *Agent) GetIgnoreErrors() bool
- func (o *Agent) GetName() string
- func (o *Agent) GetOperatingSystem() string
- func (o *Agent) GetTrusted() bool
- type AgentConfiguration
- type AgentLastBenchmark
- type AgentUpdate
- type Attack
- func (o *Attack) GetAttackMode() *AttackModeName
- func (o *Attack) GetAttackModeHashcat() *int64
- func (o *Attack) GetClassicMarkov() *bool
- func (o *Attack) GetCustomCharset1() *string
- func (o *Attack) GetCustomCharset2() *string
- func (o *Attack) GetCustomCharset3() *string
- func (o *Attack) GetCustomCharset4() *string
- func (o *Attack) GetDisableMarkov() *bool
- func (o *Attack) GetHashListChecksum() string
- func (o *Attack) GetHashListID() int64
- func (o *Attack) GetHashListURL() string
- func (o *Attack) GetHashMode() *int64
- func (o *Attack) GetID() int64
- func (o *Attack) GetIncrementMaximum() int64
- func (o *Attack) GetIncrementMinimum() int64
- func (o *Attack) GetIncrementMode() *bool
- func (o *Attack) GetLeftRule() *string
- func (o *Attack) GetMarkovThreshold() *int64
- func (o *Attack) GetMask() *string
- func (o *Attack) GetOptimized() *bool
- func (o *Attack) GetRightRule() *string
- func (o *Attack) GetRuleLists() []AttackResourceFile
- func (o *Attack) GetSlowCandidateGenerators() *bool
- func (o *Attack) GetURL() string
- func (o *Attack) GetWordLists() []AttackResourceFile
- func (o *Attack) GetWorkloadProfile() *int64
- func (a Attack) MarshalJSON() ([]byte, error)
- func (a *Attack) UnmarshalJSON(data []byte) error
- type AttackModeName
- type AttackResourceFile
- type AuthenticationResult
- type CrackerUpdate
- type DeviceStatus
- type HashcatBenchmark
- type HashcatGuess
- func (o *HashcatGuess) GetGuessBase() string
- func (o *HashcatGuess) GetGuessBaseCount() int64
- func (o *HashcatGuess) GetGuessBaseOffset() int64
- func (o *HashcatGuess) GetGuessBasePercentage() float64
- func (o *HashcatGuess) GetGuessMod() string
- func (o *HashcatGuess) GetGuessModCount() int64
- func (o *HashcatGuess) GetGuessModOffset() int64
- func (o *HashcatGuess) GetGuessModPercentage() float64
- func (o *HashcatGuess) GetGuessMode() int64
- type HashcatResult
- type Security
- type Task
- type TaskStatus
- func (o *TaskStatus) GetDeviceStatuses() []DeviceStatus
- func (o *TaskStatus) GetEstimatedStop() time.Time
- func (o *TaskStatus) GetHashcatGuess() HashcatGuess
- func (o *TaskStatus) GetOriginalLine() string
- func (o *TaskStatus) GetProgress() []int64
- func (o *TaskStatus) GetRecoveredHashes() []int64
- func (o *TaskStatus) GetRecoveredSalts() []int64
- func (o *TaskStatus) GetRejected() int64
- func (o *TaskStatus) GetRestorePoint() int64
- func (o *TaskStatus) GetSession() string
- func (o *TaskStatus) GetStatus() int64
- func (o *TaskStatus) GetTarget() string
- func (o *TaskStatus) GetTime() time.Time
- func (o *TaskStatus) GetTimeStart() time.Time
- func (t TaskStatus) MarshalJSON() ([]byte, error)
- func (t *TaskStatus) UnmarshalJSON(data []byte) error
- type TheTypeOfTheDevice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdvancedAgentConfiguration ¶
type AdvancedAgentConfiguration struct { AgentUpdateInterval *int64 `json:"agent_update_interval"` UseNativeHashcat *bool `json:"use_native_hashcat"` BackendDevice *string `json:"backend_device"` }
func (*AdvancedAgentConfiguration) GetAgentUpdateInterval ¶
func (o *AdvancedAgentConfiguration) GetAgentUpdateInterval() *int64
func (*AdvancedAgentConfiguration) GetBackendDevice ¶
func (o *AdvancedAgentConfiguration) GetBackendDevice() *string
func (*AdvancedAgentConfiguration) GetUseNativeHashcat ¶
func (o *AdvancedAgentConfiguration) GetUseNativeHashcat() *bool
type Agent ¶
type Agent struct { ID int64 `json:"id"` Name string `json:"name"` ClientSignature string `json:"client_signature"` CommandParameters *string `json:"command_parameters"` CPUOnly bool `json:"cpu_only"` Trusted bool `json:"trusted"` IgnoreErrors bool `json:"ignore_errors"` OperatingSystem string `json:"operating_system"` Devices []string `json:"devices"` AdvancedConfiguration AdvancedAgentConfiguration `json:"advanced_configuration"` }
func (*Agent) GetAdvancedConfiguration ¶
func (o *Agent) GetAdvancedConfiguration() AdvancedAgentConfiguration
func (*Agent) GetCPUOnly ¶
func (*Agent) GetClientSignature ¶
func (*Agent) GetCommandParameters ¶
func (*Agent) GetDevices ¶
func (*Agent) GetIgnoreErrors ¶
func (*Agent) GetOperatingSystem ¶
func (*Agent) GetTrusted ¶
type AgentConfiguration ¶
type AgentConfiguration struct { Config AdvancedAgentConfiguration `json:"config"` APIVersion int64 `json:"api_version"` }
func (*AgentConfiguration) GetAPIVersion ¶
func (o *AgentConfiguration) GetAPIVersion() int64
func (*AgentConfiguration) GetConfig ¶
func (o *AgentConfiguration) GetConfig() AdvancedAgentConfiguration
type AgentLastBenchmark ¶
func (*AgentLastBenchmark) GetLastBenchmarkDate ¶
func (o *AgentLastBenchmark) GetLastBenchmarkDate() time.Time
func (AgentLastBenchmark) MarshalJSON ¶
func (a AgentLastBenchmark) MarshalJSON() ([]byte, error)
func (*AgentLastBenchmark) UnmarshalJSON ¶
func (a *AgentLastBenchmark) UnmarshalJSON(data []byte) error
type AgentUpdate ¶
type AgentUpdate struct { ID int64 `json:"id"` Name string `json:"name"` ClientSignature string `json:"client_signature"` OperatingSystem string `json:"operating_system"` Devices []string `json:"devices"` }
func (*AgentUpdate) GetClientSignature ¶
func (o *AgentUpdate) GetClientSignature() string
func (*AgentUpdate) GetDevices ¶
func (o *AgentUpdate) GetDevices() []string
func (*AgentUpdate) GetID ¶
func (o *AgentUpdate) GetID() int64
func (*AgentUpdate) GetName ¶
func (o *AgentUpdate) GetName() string
func (*AgentUpdate) GetOperatingSystem ¶
func (o *AgentUpdate) GetOperatingSystem() string
type Attack ¶
type Attack struct { ID int64 `json:"id"` AttackMode *AttackModeName `default:"dictionary" json:"attack_mode"` AttackModeHashcat *int64 `default:"0" json:"attack_mode_hashcat"` Mask *string `default:"" json:"mask"` IncrementMode *bool `default:"false" json:"increment_mode"` IncrementMinimum int64 `json:"increment_minimum"` IncrementMaximum int64 `json:"increment_maximum"` Optimized *bool `default:"false" json:"optimized"` SlowCandidateGenerators *bool `default:"false" json:"slow_candidate_generators"` WorkloadProfile *int64 `default:"3" json:"workload_profile"` DisableMarkov *bool `default:"false" json:"disable_markov"` ClassicMarkov *bool `default:"false" json:"classic_markov"` MarkovThreshold *int64 `default:"0" json:"markov_threshold"` LeftRule *string `default:"" json:"left_rule"` RightRule *string `default:"" json:"right_rule"` CustomCharset1 *string `default:"" json:"custom_charset_1"` CustomCharset2 *string `default:"" json:"custom_charset_2"` CustomCharset3 *string `default:"" json:"custom_charset_3"` CustomCharset4 *string `default:"" json:"custom_charset_4"` HashListID int64 `json:"hash_list_id"` WordLists []AttackResourceFile `json:"word_lists,omitempty"` RuleLists []AttackResourceFile `json:"rule_lists,omitempty"` HashMode *int64 `default:"0" json:"hash_mode"` HashListURL string `json:"hash_list_url"` HashListChecksum string `json:"hash_list_checksum"` URL string `json:"url"` }
func (*Attack) GetAttackMode ¶
func (o *Attack) GetAttackMode() *AttackModeName
func (*Attack) GetAttackModeHashcat ¶
func (*Attack) GetClassicMarkov ¶
func (*Attack) GetCustomCharset1 ¶
func (*Attack) GetCustomCharset2 ¶
func (*Attack) GetCustomCharset3 ¶
func (*Attack) GetCustomCharset4 ¶
func (*Attack) GetDisableMarkov ¶
func (*Attack) GetHashListChecksum ¶
func (*Attack) GetHashListID ¶
func (*Attack) GetHashListURL ¶
func (*Attack) GetHashMode ¶
func (*Attack) GetIncrementMaximum ¶
func (*Attack) GetIncrementMinimum ¶
func (*Attack) GetIncrementMode ¶
func (*Attack) GetLeftRule ¶
func (*Attack) GetMarkovThreshold ¶
func (*Attack) GetOptimized ¶
func (*Attack) GetRightRule ¶
func (*Attack) GetRuleLists ¶
func (o *Attack) GetRuleLists() []AttackResourceFile
func (*Attack) GetSlowCandidateGenerators ¶
func (*Attack) GetWordLists ¶
func (o *Attack) GetWordLists() []AttackResourceFile
func (*Attack) GetWorkloadProfile ¶
func (Attack) MarshalJSON ¶
func (*Attack) UnmarshalJSON ¶
type AttackModeName ¶
type AttackModeName string
const ( AttackModeNameDictionary AttackModeName = "dictionary" AttackModeNameCombinator AttackModeName = "combinator" AttackModeNameMask AttackModeName = "mask" AttackModeNameHybridDictionary AttackModeName = "hybrid-dictionary" AttackModeNameHybridMask AttackModeName = "hybrid-mask" )
func (AttackModeName) ToPointer ¶
func (e AttackModeName) ToPointer() *AttackModeName
func (*AttackModeName) UnmarshalJSON ¶
func (e *AttackModeName) UnmarshalJSON(data []byte) error
type AttackResourceFile ¶
type AttackResourceFile struct { ID int64 `json:"id"` DownloadURL string `json:"download_url"` Checksum string `json:"checksum"` FileName string `json:"file_name"` }
func (*AttackResourceFile) GetChecksum ¶
func (o *AttackResourceFile) GetChecksum() string
func (*AttackResourceFile) GetDownloadURL ¶
func (o *AttackResourceFile) GetDownloadURL() string
func (*AttackResourceFile) GetFileName ¶
func (o *AttackResourceFile) GetFileName() string
func (*AttackResourceFile) GetID ¶
func (o *AttackResourceFile) GetID() int64
type AuthenticationResult ¶
type AuthenticationResult struct { Authenticated bool `json:"authenticated"` AgentID int64 `json:"agent_id"` }
func (*AuthenticationResult) GetAgentID ¶
func (o *AuthenticationResult) GetAgentID() int64
func (*AuthenticationResult) GetAuthenticated ¶
func (o *AuthenticationResult) GetAuthenticated() bool
type CrackerUpdate ¶
type CrackerUpdate struct { Available bool `json:"available"` LatestVersion *string `json:"latest_version,omitempty"` DownloadURL *string `json:"download_url,omitempty"` ExecName *string `json:"exec_name,omitempty"` Message *string `json:"message,omitempty"` }
func (*CrackerUpdate) GetAvailable ¶
func (o *CrackerUpdate) GetAvailable() bool
func (*CrackerUpdate) GetDownloadURL ¶
func (o *CrackerUpdate) GetDownloadURL() *string
func (*CrackerUpdate) GetExecName ¶
func (o *CrackerUpdate) GetExecName() *string
func (*CrackerUpdate) GetLatestVersion ¶
func (o *CrackerUpdate) GetLatestVersion() *string
func (*CrackerUpdate) GetMessage ¶
func (o *CrackerUpdate) GetMessage() *string
type DeviceStatus ¶
type DeviceStatus struct { DeviceID int64 `json:"device_id"` DeviceName string `json:"device_name"` DeviceType TheTypeOfTheDevice `json:"device_type"` Speed int64 `json:"speed"` Utilization int64 `json:"utilization"` Temperature int64 `json:"temperature"` }
func (*DeviceStatus) GetDeviceID ¶
func (o *DeviceStatus) GetDeviceID() int64
func (*DeviceStatus) GetDeviceName ¶
func (o *DeviceStatus) GetDeviceName() string
func (*DeviceStatus) GetDeviceType ¶
func (o *DeviceStatus) GetDeviceType() TheTypeOfTheDevice
func (*DeviceStatus) GetSpeed ¶
func (o *DeviceStatus) GetSpeed() int64
func (*DeviceStatus) GetTemperature ¶
func (o *DeviceStatus) GetTemperature() int64
func (*DeviceStatus) GetUtilization ¶
func (o *DeviceStatus) GetUtilization() int64
type HashcatBenchmark ¶
type HashcatBenchmark struct { HashType int64 `json:"hash_type"` Runtime int64 `json:"runtime"` HashSpeed float64 `json:"hash_speed"` Device int64 `json:"device"` }
func (*HashcatBenchmark) GetDevice ¶
func (o *HashcatBenchmark) GetDevice() int64
func (*HashcatBenchmark) GetHashSpeed ¶
func (o *HashcatBenchmark) GetHashSpeed() float64
func (*HashcatBenchmark) GetHashType ¶
func (o *HashcatBenchmark) GetHashType() int64
func (*HashcatBenchmark) GetRuntime ¶
func (o *HashcatBenchmark) GetRuntime() int64
type HashcatGuess ¶
type HashcatGuess struct { GuessBase string `json:"guess_base"` GuessBaseCount int64 `json:"guess_base_count"` GuessBaseOffset int64 `json:"guess_base_offset"` GuessBasePercentage float64 `json:"guess_base_percentage"` GuessMod string `json:"guess_mod"` GuessModCount int64 `json:"guess_mod_count"` GuessModOffset int64 `json:"guess_mod_offset"` GuessModPercentage float64 `json:"guess_mod_percentage"` GuessMode int64 `json:"guess_mode"` }
func (*HashcatGuess) GetGuessBase ¶
func (o *HashcatGuess) GetGuessBase() string
func (*HashcatGuess) GetGuessBaseCount ¶
func (o *HashcatGuess) GetGuessBaseCount() int64
func (*HashcatGuess) GetGuessBaseOffset ¶
func (o *HashcatGuess) GetGuessBaseOffset() int64
func (*HashcatGuess) GetGuessBasePercentage ¶
func (o *HashcatGuess) GetGuessBasePercentage() float64
func (*HashcatGuess) GetGuessMod ¶
func (o *HashcatGuess) GetGuessMod() string
func (*HashcatGuess) GetGuessModCount ¶
func (o *HashcatGuess) GetGuessModCount() int64
func (*HashcatGuess) GetGuessModOffset ¶
func (o *HashcatGuess) GetGuessModOffset() int64
func (*HashcatGuess) GetGuessModPercentage ¶
func (o *HashcatGuess) GetGuessModPercentage() float64
func (*HashcatGuess) GetGuessMode ¶
func (o *HashcatGuess) GetGuessMode() int64
type HashcatResult ¶
type HashcatResult struct { Timestamp time.Time `json:"timestamp"` Hash string `json:"hash"` PlainText string `json:"plain_text"` }
func (*HashcatResult) GetHash ¶
func (o *HashcatResult) GetHash() string
func (*HashcatResult) GetPlainText ¶
func (o *HashcatResult) GetPlainText() string
func (*HashcatResult) GetTimestamp ¶
func (o *HashcatResult) GetTimestamp() time.Time
func (HashcatResult) MarshalJSON ¶
func (h HashcatResult) MarshalJSON() ([]byte, error)
func (*HashcatResult) UnmarshalJSON ¶
func (h *HashcatResult) UnmarshalJSON(data []byte) error
type Security ¶
type Security struct {
BearerAuth string `security:"scheme,type=http,subtype=bearer,name=Authorization"`
}
func (*Security) GetBearerAuth ¶
type Task ¶
type Task struct { ID int64 `json:"id"` AttackID int64 `json:"attack_id"` StartDate time.Time `json:"start_date"` Status string `json:"status"` Skip *int64 `json:"skip,omitempty"` Limit *int64 `json:"limit,omitempty"` }
func (*Task) GetAttackID ¶
func (*Task) GetStartDate ¶
func (Task) MarshalJSON ¶
func (*Task) UnmarshalJSON ¶
type TaskStatus ¶
type TaskStatus struct { OriginalLine string `json:"original_line"` Time time.Time `json:"time"` Session string `json:"session"` HashcatGuess HashcatGuess `json:"hashcat_guess"` Status int64 `json:"status"` Target string `json:"target"` Progress []int64 `json:"progress"` RestorePoint int64 `json:"restore_point"` RecoveredHashes []int64 `json:"recovered_hashes"` RecoveredSalts []int64 `json:"recovered_salts"` Rejected int64 `json:"rejected"` DeviceStatuses []DeviceStatus `json:"device_statuses"` TimeStart time.Time `json:"time_start"` EstimatedStop time.Time `json:"estimated_stop"` }
func (*TaskStatus) GetDeviceStatuses ¶
func (o *TaskStatus) GetDeviceStatuses() []DeviceStatus
func (*TaskStatus) GetEstimatedStop ¶
func (o *TaskStatus) GetEstimatedStop() time.Time
func (*TaskStatus) GetHashcatGuess ¶
func (o *TaskStatus) GetHashcatGuess() HashcatGuess
func (*TaskStatus) GetOriginalLine ¶
func (o *TaskStatus) GetOriginalLine() string
func (*TaskStatus) GetProgress ¶
func (o *TaskStatus) GetProgress() []int64
func (*TaskStatus) GetRecoveredHashes ¶
func (o *TaskStatus) GetRecoveredHashes() []int64
func (*TaskStatus) GetRecoveredSalts ¶
func (o *TaskStatus) GetRecoveredSalts() []int64
func (*TaskStatus) GetRejected ¶
func (o *TaskStatus) GetRejected() int64
func (*TaskStatus) GetRestorePoint ¶
func (o *TaskStatus) GetRestorePoint() int64
func (*TaskStatus) GetSession ¶
func (o *TaskStatus) GetSession() string
func (*TaskStatus) GetStatus ¶
func (o *TaskStatus) GetStatus() int64
func (*TaskStatus) GetTarget ¶
func (o *TaskStatus) GetTarget() string
func (*TaskStatus) GetTime ¶
func (o *TaskStatus) GetTime() time.Time
func (*TaskStatus) GetTimeStart ¶
func (o *TaskStatus) GetTimeStart() time.Time
func (TaskStatus) MarshalJSON ¶
func (t TaskStatus) MarshalJSON() ([]byte, error)
func (*TaskStatus) UnmarshalJSON ¶
func (t *TaskStatus) UnmarshalJSON(data []byte) error
type TheTypeOfTheDevice ¶
type TheTypeOfTheDevice string
const ( TheTypeOfTheDeviceCPU TheTypeOfTheDevice = "CPU" TheTypeOfTheDeviceGpu TheTypeOfTheDevice = "GPU" )
func (TheTypeOfTheDevice) ToPointer ¶
func (e TheTypeOfTheDevice) ToPointer() *TheTypeOfTheDevice
func (*TheTypeOfTheDevice) UnmarshalJSON ¶
func (e *TheTypeOfTheDevice) UnmarshalJSON(data []byte) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.