Documentation
¶
Index ¶
- Constants
- Variables
- func BlackString(format string, a ...interface{}) string
- func BlueString(format string, a ...interface{}) string
- func BoldString(format string, a ...interface{}) string
- func BusyCPUWorking(ctx context.Context)
- func CyanBoldString(format string, a ...interface{}) string
- func CyanString(format string, a ...interface{}) string
- func GenBool(p float64) bool
- func GenHTTPCode() int
- func GenHTTPPath(files, exts []string) string
- func GenHashHex(n int) string
- func GenIncludes(lst []string, cnt int) string
- func GenIntN(min, max int) int
- func GenKernelCompileLine(arch string) string
- func GenLinkerFlags(lst []string, cnt int) string
- func GenPackageTag() string
- func GenPackageVersion() string
- func GenRandStringFromList(lst []string, cnt int) string
- func GenRandomIndex(min, max, length int) []int
- func GreenBoldString(format string, a ...interface{}) string
- func GreenString(format string, a ...interface{}) string
- func MagentaString(format string, a ...interface{}) string
- func PrintGreen(format string, a ...interface{})
- func PrintGreenWithBold(a string, others ...interface{})
- func PrintNewline()
- func PrintWithDelay(s string, d int)
- func PrintYellow(format string, a ...interface{})
- func PrintlnWithDelay(s string, d int)
- func RedString(format string, a ...interface{}) string
- func SleepInMills(min, max int)
- func YellowBoldString(format string, a ...interface{}) string
- type Moduler
- func NewBootlogModule() Moduler
- func NewBotnetModule() Moduler
- func NewCargoModule() Moduler
- func NewCcModule() Moduler
- func NewComposerModule() Moduler
- func NewCryptominingModule() Moduler
- func NewDockerModule() Moduler
- func NewDownloadModule() Moduler
- func NewGomodModule() Moduler
- func NewKernelCompileModule() Moduler
- func NewMemdumpModule() Moduler
- func NewWeblogModule() Moduler
Constants ¶
View Source
const ( ModBootlog = "bootlog" ModBotnet = "botnet" ModCargo = "cargo" ModCc = "cc" ModComposer = "composer" ModCryptomining = "cryptomining" ModDocker = "docker" ModDownload = "download" ModGomod = "gomod" ModKernelCompile = "kernel_compile" ModMemdump = "memdump" ModWeblog = "weblog" )
Variables ¶
View Source
var Registry = [...]Moduler{ NewBootlogModule(), NewBotnetModule(), NewCargoModule(), NewCcModule(), NewComposerModule(), NewCryptominingModule(), NewDockerModule(), NewDownloadModule(), NewGomodModule(), NewKernelCompileModule(), NewMemdumpModule(), NewWeblogModule(), }
Functions ¶
func BlackString ¶
func BlueString ¶
func BoldString ¶
func BusyCPUWorking ¶ added in v0.2.0
func CyanBoldString ¶
func CyanString ¶
func GenHTTPCode ¶
func GenHTTPCode() int
func GenHTTPPath ¶
func GenHashHex ¶
func GenIncludes ¶
func GenKernelCompileLine ¶
func GenLinkerFlags ¶
func GenPackageTag ¶
func GenPackageTag() string
func GenPackageVersion ¶
func GenPackageVersion() string
func GenRandStringFromList ¶
func GenRandomIndex ¶
func GreenBoldString ¶
func GreenString ¶
func MagentaString ¶
func PrintGreen ¶
func PrintGreen(format string, a ...interface{})
func PrintGreenWithBold ¶
func PrintGreenWithBold(a string, others ...interface{})
func PrintNewline ¶
func PrintNewline()
func PrintWithDelay ¶
func PrintYellow ¶
func PrintYellow(format string, a ...interface{})
func PrintlnWithDelay ¶
func SleepInMills ¶
func SleepInMills(min, max int)
func YellowBoldString ¶
Types ¶
type Moduler ¶
func NewBootlogModule ¶
func NewBootlogModule() Moduler
func NewBotnetModule ¶
func NewBotnetModule() Moduler
func NewCargoModule ¶
func NewCargoModule() Moduler
func NewCcModule ¶
func NewCcModule() Moduler
func NewComposerModule ¶
func NewComposerModule() Moduler
func NewCryptominingModule ¶
func NewCryptominingModule() Moduler
func NewDockerModule ¶
func NewDockerModule() Moduler
func NewDownloadModule ¶
func NewDownloadModule() Moduler
func NewGomodModule ¶
func NewGomodModule() Moduler
func NewKernelCompileModule ¶
func NewKernelCompileModule() Moduler
func NewMemdumpModule ¶
func NewMemdumpModule() Moduler
func NewWeblogModule ¶
func NewWeblogModule() Moduler
Click to show internal directories.
Click to hide internal directories.