dbf

package
v0.0.0-...-e8bc10d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2017 License: BSD-3-Clause Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PATH_SEPARATOR = string(os.PathSeparator)
)

Variables

View Source
var (
	PathData string
)
View Source
var (
	ResetTimer bool
)

Functions

func GetCrackDep

func GetCrackDep(reqJson string, crackInfoPath *string) bool

func GetTask

func GetTask() bool

func InitConfig

func InitConfig()

func InitLog

func InitLog()

func Uncompress

func Uncompress(src, dest string) error

Types

type StructActivePlatform

type StructActivePlatform struct {
	Id        string `json:"id"`
	Benchmark uint64 `json:"benchmark"`
}

type StructConfDbf

type StructConfDbf struct {
	Server   StructConfDbfServer     `json:"server"`
	Platform []StructConfDbfPlatform `json:"platform"`
}

type StructConfDbfPlatform

type StructConfDbfPlatform struct {
	Id        string `json:"id"`
	Active    int    `json:"active"`
	Benchmark uint64 `json:"benchmark"`
}

type StructConfDbfServer

type StructConfDbfServer struct {
	Url_api    string `json:"url_api"`
	Version    string `json:"version"`
	Ssl_verify int    `json:"ssl_verify"`
}

type StructCrack

type StructCrack struct {
	Id         string            `json:"id"`
	Generator  string            `json:"generator"`
	Gen_config []string          `json:"gen_config"`
	Algo_id    string            `json:"algo_id"`
	Algo_name  string            `json:"algo_name"`
	Len_min    string            `json:"len_min"`
	Len_max    string            `json:"len_max"`
	Charset1   string            `json:"charset1"`
	Charset2   string            `json:"charset2"`
	Charset3   string            `json:"charset3"`
	Charset4   string            `json:"charset4"`
	Mask       string            `json:"mask"`
	Target     string            `json:"target"`
	Has_dep    bool              `json:"has_dep"`
	Info       []StructCrackInfo `json:"info"`
}

type StructCrackInfo

type StructCrackInfo struct {
	Platform     string `json:"platform"`
	Cracker      string `json:"cracker"`
	Internal_gen bool   `json:"internal_gen"`
}

type StructCrackTask

type StructCrackTask struct {
	Crack_id string `json:"crack_id"`
	Start    string `json:"start"`
	Offset   string `json:"offset"`
	Platform string `json:"platform"`
}

type StructCrackerEmbed

type StructCrackerEmbed struct {
	Generator []StructCrackerGen `json:"generator"`
}

type StructCrackerGen

type StructCrackerGen struct {
	Name string   `json:"name"`
	Arg  []string `json:"arg"`
}

type StructNotEmbed

type StructNotEmbed struct {
	Stdin  []string `json:"stdin"`
	Infile []string `json:"infile"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL