malware

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MalwareAnalyzer

type MalwareAnalyzer struct {
	// contains filtered or unexported fields
}

func NewMalwareAnalyzer

func NewMalwareAnalyzer() *MalwareAnalyzer

func (*MalwareAnalyzer) Analyze

func (a *MalwareAnalyzer) Analyze(input string) []MalwareCheck

func (*MalwareAnalyzer) HasMalware

func (a *MalwareAnalyzer) HasMalware(input string) bool

func (*MalwareAnalyzer) MaxSeverity

func (a *MalwareAnalyzer) MaxSeverity(input string) int

type MalwareCheck

type MalwareCheck struct {
	Indicator string `json:"indicator"`
	Severity  int    `json:"severity"`
	Message   string `json:"message"`
}

Jump to

Keyboard shortcuts

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