utils

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CRTMRepo       = "crtm"
	GOGORepo       = "gogo"
	SprayRepo      = "spray"
	ZombieRepo     = "zombie"
	IoMRepo        = "malice-network"
	UrlFounderRepo = "urlfounder"
	CDNCheckRepo   = "cdncheck"

	Tools = map[string]string{

		"gogo":           GOGORepo,
		"spray":          SprayRepo,
		"zombie":         ZombieRepo,
		"urlfounder":     UrlFounderRepo,
		"iom":            IoMRepo,
		"malice_network": IoMRepo,
	}
)

Functions

func Contains

func Contains(s []types.Tool, toolName string) (int, bool)

func FetchTool

func FetchTool(toolName string) (types.Tool, error)

func FetchToolList

func FetchToolList() ([]types.Tool, error)

func GithubClient

func GithubClient() *github.Client

func InstalledVersion

func InstalledVersion(tool types.Tool, basePath string, au *aurora.Aurora) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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