hashcat新增字段

Former-commit-id: f0d39e2ff1cc8c544e870dbe96b057e2eabb4bc6
This commit is contained in:
zhangwei 2023-10-18 15:41:06 +08:00
parent 3fff406038
commit 15ff42cedd
4 changed files with 51 additions and 41 deletions

View File

@ -470,6 +470,8 @@ type SaveHashcatReq {
CrackEstimatedTime string `json:"crackEstimatedTime"` // 预计时间
CrackProgress string `json:"crackProgress"` // 进度
CrackResult string `json:"crackResult"` // 结果
Started string `json:"started"` // 开始时间
Stoped string `json:"stoped"` // 结束时间
}
type getHashcatHandlerReq {
@ -488,6 +490,8 @@ type HashCat {
CrackEstimatedTime string `json:"crackEstimatedTime"` // 预计时间
CrackProgress string `json:"crackProgress"` // 进度
CrackResult string `json:"crackResult"` // 结果
Started string `json:"started"` // 开始时间
Stoped string `json:"stoped"` // 结束时间
}
type participantListResp {

View File

@ -439,6 +439,8 @@ type SaveHashcatReq struct {
CrackEstimatedTime string `json:"crackEstimatedTime"` // 预计时间
CrackProgress string `json:"crackProgress"` // 进度
CrackResult string `json:"crackResult"` // 结果
Started string `json:"started"` // 开始时间
Stoped string `json:"stoped"` // 结束时间
}
type GetHashcatHandlerReq struct {
@ -457,6 +459,8 @@ type HashCat struct {
CrackEstimatedTime string `json:"crackEstimatedTime"` // 预计时间
CrackProgress string `json:"crackProgress"` // 进度
CrackResult string `json:"crackResult"` // 结果
Started string `json:"started"` // 开始时间
Stoped string `json:"stoped"` // 结束时间
}
type ParticipantListResp struct {
@ -842,7 +846,7 @@ type ImportTasks struct {
TotalFileCount uint32 `json:"totalFileCount,omitempty"`
CreateTime uint32 `json:"createTime,omitempty"`
ElapsedTime uint32 `json:"elapsedTime,omitempty"`
AnnotationFormatConfig []interface{} `json:"annotationFormatConfigomitempty"`
AnnotationFormatConfig []interface{} `json:"annotationFormatConfig,omitempty"`
}
type Annotations struct {

View File

@ -21,6 +21,8 @@ type (
CrackEstimatedTime string `db:"crack_estimated_time"` // 预计时间
CrackProgress string `db:"crack_progress"` // 进度
CrackResult string `db:"crack_result"` // 结果
Started string `db:"started"` // 开始时间
Stoped string `db:"started"` // 结束时间
CreatedBy int64 `db:"created_by"` // 创建人
UpdatedBy int64 `db:"updated_by"` // 更新人
DeletedFlag int64 `db:"deleted_flag"` // 是否删除0-否1-是)