utils

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ansi

func Ansi(str string)

func Err

func Err(err error)

func GetHashType

func GetHashType(hash string) string

func InArr

func InArr(s [6]string, element string) bool

func InSclice

func InSclice(s []string, element string) bool

func Sum

func Sum(arr []int) int

Types

type Input

type Input struct {
	// Modes: help, crack, list, hash. test
	Mode     string
	Password string
	File     string

	// input/output for paths
	Inputs []string
	Output string

	Chars []string

	// Hash modes: md5, sha1, sha256, sha512
	Hash string

	Min int
	Max int

	Raw bool
}

func Args

func Args(cmdIn []string) Input

Jump to

Keyboard shortcuts

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