Documentation ¶
Index ¶
- type AdvancedAgentConfiguration
- func (o *AdvancedAgentConfiguration) GetAgentUpdateInterval() *int64
- func (o *AdvancedAgentConfiguration) GetBackendDevice() *string
- func (o *AdvancedAgentConfiguration) GetEnableAdditionalHashTypes() bool
- func (o *AdvancedAgentConfiguration) GetOpenclDevices() *string
- func (o *AdvancedAgentConfiguration) GetUseNativeHashcat() *bool
- type Agent
- func (o *Agent) GetAdvancedConfiguration() AdvancedAgentConfiguration
- func (o *Agent) GetClientSignature() string
- func (o *Agent) GetCommandParameters() *string
- func (o *Agent) GetDevices() []string
- func (o *Agent) GetID() int64
- func (o *Agent) GetName() string
- func (o *Agent) GetOperatingSystem() string
- func (o *Agent) GetState() State
- type AgentConfiguration
- type AgentError
- type AgentHeartbeatResponse
- type AgentHeartbeatResponseState
- type AgentUpdate
- type Attack
- func (o *Attack) GetAttackMode() *AttackMode
- 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 AttackMode
- type AttackResourceFile
- type AuthenticationResult
- type CrackerUpdate
- type DeviceStatus
- type DeviceType
- 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 Metadata
- type Security
- type Severity
- type State
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdvancedAgentConfiguration ¶
type AdvancedAgentConfiguration struct { // The interval in seconds to check for agent updates AgentUpdateInterval *int64 `json:"agent_update_interval"` // Use the hashcat binary already installed on the client system UseNativeHashcat *bool `json:"use_native_hashcat"` // The device to use for hashcat, separated by commas BackendDevice *string `json:"backend_device"` // The OpenCL device types to use for hashcat, separated by commas OpenclDevices *string `json:"opencl_devices,omitempty"` // Causes hashcat to perform benchmark-all, rather than just benchmark EnableAdditionalHashTypes bool `json:"enable_additional_hash_types"` }
func (*AdvancedAgentConfiguration) GetAgentUpdateInterval ¶
func (o *AdvancedAgentConfiguration) GetAgentUpdateInterval() *int64
func (*AdvancedAgentConfiguration) GetBackendDevice ¶
func (o *AdvancedAgentConfiguration) GetBackendDevice() *string
func (*AdvancedAgentConfiguration) GetEnableAdditionalHashTypes ¶ added in v0.4.0
func (o *AdvancedAgentConfiguration) GetEnableAdditionalHashTypes() bool
func (*AdvancedAgentConfiguration) GetOpenclDevices ¶ added in v0.4.3
func (o *AdvancedAgentConfiguration) GetOpenclDevices() *string
func (*AdvancedAgentConfiguration) GetUseNativeHashcat ¶
func (o *AdvancedAgentConfiguration) GetUseNativeHashcat() *bool
type Agent ¶
type Agent struct { // The id of the agent ID int64 `json:"id"` // The hostname of the agent Name string `json:"name"` // The signature of the client ClientSignature string `json:"client_signature"` // Additional command line parameters to use for hashcat CommandParameters *string `json:"command_parameters"` // The state of the agent State State `json:"state"` // The operating system of the agent OperatingSystem string `json:"operating_system"` Devices []string `json:"devices"` AdvancedConfiguration AdvancedAgentConfiguration `json:"advanced_configuration"` }
func (*Agent) GetAdvancedConfiguration ¶
func (o *Agent) GetAdvancedConfiguration() AdvancedAgentConfiguration
func (*Agent) GetClientSignature ¶
func (*Agent) GetCommandParameters ¶
func (*Agent) GetDevices ¶
func (*Agent) GetOperatingSystem ¶
type AgentConfiguration ¶
type AgentConfiguration struct { Config AdvancedAgentConfiguration `json:"config"` // The minimum accepted version of the API APIVersion int64 `json:"api_version"` }
func (*AgentConfiguration) GetAPIVersion ¶
func (o *AgentConfiguration) GetAPIVersion() int64
func (*AgentConfiguration) GetConfig ¶
func (o *AgentConfiguration) GetConfig() AdvancedAgentConfiguration
type AgentError ¶ added in v0.2.2
type AgentError struct { // The error message Message string `json:"message"` // Additional metadata about the error Metadata *Metadata `json:"metadata,omitempty"` // The severity of the error: // * `info` - Informational message, no action required. // * `warning` - Non-critical error, no action required. Anticipated, but not necessarily problematic. // * `minor` - Minor error, no action required. Should be investigated, but the task can continue. // * `major` - Major error, action required. The task should be investigated and possibly restarted. // * `critical` - Critical error, action required. The task should be stopped and investigated. // * `fatal` - Fatal error, action required. The agent cannot continue with the task and should not be reattempted. Severity Severity `json:"severity"` // The agent that caused the error AgentID int64 `json:"agent_id"` // The task that caused the error, if any TaskID *int64 `json:"task_id,omitempty"` }
func (*AgentError) GetAgentID ¶ added in v0.2.2
func (o *AgentError) GetAgentID() int64
func (*AgentError) GetMessage ¶ added in v0.2.2
func (o *AgentError) GetMessage() string
func (*AgentError) GetMetadata ¶ added in v0.2.2
func (o *AgentError) GetMetadata() *Metadata
func (*AgentError) GetSeverity ¶ added in v0.2.2
func (o *AgentError) GetSeverity() Severity
func (*AgentError) GetTaskID ¶ added in v0.2.2
func (o *AgentError) GetTaskID() *int64
type AgentHeartbeatResponse ¶ added in v0.4.0
type AgentHeartbeatResponse struct { // The state of the agent: // * `pending` - The agent needs to perform the setup process again. // * `active` - The agent is ready to accept tasks, all is good. // * `stopped` - The agent has been stopped by the user. State AgentHeartbeatResponseState `json:"state"` }
AgentHeartbeatResponse - The response to an agent heartbeat
func (*AgentHeartbeatResponse) GetState ¶ added in v0.4.0
func (o *AgentHeartbeatResponse) GetState() AgentHeartbeatResponseState
type AgentHeartbeatResponseState ¶ added in v0.4.0
type AgentHeartbeatResponseState string
AgentHeartbeatResponseState - The state of the agent:
- `pending` - The agent needs to perform the setup process again.
- `active` - The agent is ready to accept tasks, all is good.
- `stopped` - The agent has been stopped by the user.
const ( AgentHeartbeatResponseStatePending AgentHeartbeatResponseState = "pending" AgentHeartbeatResponseStateStopped AgentHeartbeatResponseState = "stopped" AgentHeartbeatResponseStateError AgentHeartbeatResponseState = "error" )
func (AgentHeartbeatResponseState) ToPointer ¶ added in v0.4.0
func (e AgentHeartbeatResponseState) ToPointer() *AgentHeartbeatResponseState
func (*AgentHeartbeatResponseState) UnmarshalJSON ¶ added in v0.4.0
func (e *AgentHeartbeatResponseState) UnmarshalJSON(data []byte) error
type AgentUpdate ¶
type AgentUpdate struct { // The id of the agent ID int64 `json:"id"` // The hostname of the agent Name string `json:"name"` // The signature of the client ClientSignature string `json:"client_signature"` // The operating system of the agent 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 { // The id of the attack ID int64 `json:"id"` // Attack mode name AttackMode *AttackMode `default:"dictionary" json:"attack_mode"` // hashcat attack mode AttackModeHashcat *int64 `default:"0" json:"attack_mode_hashcat"` // A hashcat mask string Mask *string `default:"" json:"mask"` // Enable hashcat increment mode IncrementMode *bool `default:"false" json:"increment_mode"` // The start of the increment range IncrementMinimum int64 `json:"increment_minimum"` // The end of the increment range IncrementMaximum int64 `json:"increment_maximum"` // Enable hashcat optimized mode Optimized *bool `default:"false" json:"optimized"` // Enable hashcat slow candidate generators SlowCandidateGenerators *bool `default:"false" json:"slow_candidate_generators"` // The hashcat workload profile WorkloadProfile *int64 `default:"3" json:"workload_profile"` // Disable hashcat markov mode DisableMarkov *bool `default:"false" json:"disable_markov"` // Enable hashcat classic markov mode ClassicMarkov *bool `default:"false" json:"classic_markov"` // The hashcat markov threshold MarkovThreshold *int64 `default:"0" json:"markov_threshold"` // The left-hand rule for combinator attacks LeftRule *string `default:"" json:"left_rule"` // The right-hand rule for combinator attacks RightRule *string `default:"" json:"right_rule"` // Custom charset 1 for hashcat mask attacks CustomCharset1 *string `default:"" json:"custom_charset_1"` // Custom charset 2 for hashcat mask attacks CustomCharset2 *string `default:"" json:"custom_charset_2"` // Custom charset 3 for hashcat mask attacks CustomCharset3 *string `default:"" json:"custom_charset_3"` // Custom charset 4 for hashcat mask attacks CustomCharset4 *string `default:"" json:"custom_charset_4"` // The id of the hash list HashListID int64 `json:"hash_list_id"` // The word lists to use in the attack WordLists []AttackResourceFile `json:"word_lists,omitempty"` // The rule lists to use in the attack RuleLists []AttackResourceFile `json:"rule_lists,omitempty"` // The hashcat hash mode HashMode *int64 `default:"0" json:"hash_mode"` // The download URL for the hash list HashListURL string `json:"hash_list_url"` // The MD5 checksum of the hash list HashListChecksum string `json:"hash_list_checksum"` // The URL to the attack URL string `json:"url"` }
func (*Attack) GetAttackMode ¶
func (o *Attack) GetAttackMode() *AttackMode
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 AttackMode ¶ added in v0.2.0
type AttackMode string
AttackMode - Attack mode name
const ( AttackModeDictionary AttackMode = "dictionary" AttackModeCombinator AttackMode = "combinator" AttackModeMask AttackMode = "mask" AttackModeHybridDictionary AttackMode = "hybrid_dictionary" AttackModeHybridMask AttackMode = "hybrid_mask" )
func (AttackMode) ToPointer ¶ added in v0.2.0
func (e AttackMode) ToPointer() *AttackMode
func (*AttackMode) UnmarshalJSON ¶ added in v0.2.0
func (e *AttackMode) UnmarshalJSON(data []byte) error
type AttackResourceFile ¶
type AttackResourceFile struct { // The id of the resource file ID int64 `json:"id"` // The download URL of the resource file DownloadURL string `json:"download_url"` // The MD5 checksum of the resource file Checksum string `json:"checksum"` // The name of the resource file 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 { // A new version of the cracker binary is available Available bool `json:"available"` // The latest version of the cracker binary LatestVersion *string `json:"latest_version,omitempty"` // The download URL of the new version DownloadURL *string `json:"download_url,omitempty"` // The name of the executable ExecName *string `json:"exec_name,omitempty"` // A message about the update 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 { // The id of the device DeviceID int64 `json:"device_id"` // The name of the device DeviceName string `json:"device_name"` // The type of the device DeviceType DeviceType `json:"device_type"` // The speed of the device Speed int64 `json:"speed"` // The utilization of the device Utilization int64 `json:"utilization"` // The temperature of the device, or -1 if unmonitored. 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() DeviceType
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 DeviceType ¶ added in v0.2.0
type DeviceType string
DeviceType - The type of the device
const ( DeviceTypeCPU DeviceType = "CPU" DeviceTypeGpu DeviceType = "GPU" )
func (DeviceType) ToPointer ¶ added in v0.2.0
func (e DeviceType) ToPointer() *DeviceType
func (*DeviceType) UnmarshalJSON ¶ added in v0.2.0
func (e *DeviceType) UnmarshalJSON(data []byte) error
type HashcatBenchmark ¶
type HashcatBenchmark struct { // The hashcat hash type HashType int64 `json:"hash_type"` // The runtime of the benchmark in milliseconds. Runtime int64 `json:"runtime"` // The speed of the benchmark in hashes per second. HashSpeed float64 `json:"hash_speed"` // The device used for the benchmark 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 { // The base value used for the guess (for example, the mask) GuessBase string `json:"guess_base"` // The number of times the base value was used GuessBaseCount int64 `json:"guess_base_count"` // The offset of the base value GuessBaseOffset int64 `json:"guess_base_offset"` // The percentage completion of the base value GuessBasePercentage float64 `json:"guess_base_percentage"` // The modifier used for the guess (for example, the wordlist) GuessMod string `json:"guess_mod"` // The number of times the modifier was used GuessModCount int64 `json:"guess_mod_count"` // The offset of the modifier GuessModOffset int64 `json:"guess_mod_offset"` // The percentage completion of the modifier GuessModPercentage float64 `json:"guess_mod_percentage"` // The mode used for the guess 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 { // The time the hash was cracked Timestamp time.Time `json:"timestamp"` // The hash value Hash string `json:"hash"` // The plain text value 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 Metadata ¶ added in v0.2.2
type Metadata struct { // The date of the error ErrorDate time.Time `json:"error_date"` // Other metadata Other map[string]any `json:"other,omitempty"` }
Metadata - Additional metadata about the error
func (*Metadata) GetErrorDate ¶ added in v0.3.1
func (Metadata) MarshalJSON ¶ added in v0.3.1
func (*Metadata) UnmarshalJSON ¶ added in v0.3.1
type Security ¶
type Security struct {
BearerAuth string `security:"scheme,type=http,subtype=bearer,name=Authorization"`
}
func (*Security) GetBearerAuth ¶
type Severity ¶ added in v0.2.2
type Severity string
Severity - The severity of the error:
- `info` - Informational message, no action required.
- `warning` - Non-critical error, no action required. Anticipated, but not necessarily problematic.
- `minor` - Minor error, no action required. Should be investigated, but the task can continue.
- `major` - Major error, action required. The task should be investigated and possibly restarted.
- `critical` - Critical error, action required. The task should be stopped and investigated.
- `fatal` - Fatal error, action required. The agent cannot continue with the task and should not be reattempted.
func (*Severity) UnmarshalJSON ¶ added in v0.2.2
type State ¶ added in v0.4.0
type State string
State - The state of the agent
func (*State) UnmarshalJSON ¶ added in v0.4.0
type Task ¶
type Task struct { // The id of the task ID int64 `json:"id"` // The id of the attack AttackID int64 `json:"attack_id"` // The time the task was started StartDate time.Time `json:"start_date"` // The status of the task Status string `json:"status"` // The offset of the keyspace Skip *int64 `json:"skip,omitempty"` // The limit of the keyspace Limit *int64 `json:"limit,omitempty"` }
func (*Task) GetAttackID ¶
func (*Task) GetStartDate ¶
func (Task) MarshalJSON ¶
func (*Task) UnmarshalJSON ¶
type TaskStatus ¶
type TaskStatus struct { // The original line from hashcat OriginalLine string `json:"original_line"` // The time the status was received Time time.Time `json:"time"` // The session name Session string `json:"session"` HashcatGuess HashcatGuess `json:"hashcat_guess"` // The status of the task Status int64 `json:"status"` // The target of the task Target string `json:"target"` // The progress of the task Progress []int64 `json:"progress"` // The restore point of the task RestorePoint int64 `json:"restore_point"` // The number of recovered hashes RecoveredHashes []int64 `json:"recovered_hashes"` // The number of recovered salts RecoveredSalts []int64 `json:"recovered_salts"` // The number of rejected guesses Rejected int64 `json:"rejected"` // The status of the devices used for the task DeviceStatuses []DeviceStatus `json:"device_statuses"` // The time the task started. TimeStart time.Time `json:"time_start"` // The estimated time of completion. 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
Source Files ¶
Click to show internal directories.
Click to hide internal directories.