utils

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Provider      = "provider"
	Payload       = "payload"
	AccessKey     = "accesskey"
	SecretKey     = "secretkey"
	SecurityToken = "token"
	Region        = "region"
	Version       = "version"
)
View Source
const (
	AzureClientId       = "clientId"
	AzureClientSecret   = "clientSecret"
	AzureTenantId       = "tenantId"
	AzureSubscriptionId = "subscriptionId"
)
View Source
const (
	Metadata   = "metadata"
	BucketDump = "list all"
	EventDump  = "dump all"
)
View Source
const (
	GCPserviceAccountJSON = "base64Json"
)

Variables

View Source
var (
	DoSave       bool
	ListPolicies bool
	LogDir       string
	Cloudlist    []string
	BackdoorUser string
	DBAccount    string
)

Functions

func CheckLogDir added in v0.0.9

func CheckLogDir()

func Md5Encode added in v0.0.3

func Md5Encode(s string) string

func ParseBytes added in v0.1.0

func ParseBytes(size int64) string

func ParseCmd

func ParseCmd(s string) (cmd string, args []string)

func WriteLog added in v0.1.0

func WriteLog(filename string, msg string)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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