Documentation ¶
Index ¶
Constants ¶
View Source
const ( DetectedMalwareLineWordCount = 3 // A clam detected malware line should be in the following format: <path> <malware-description> FOUND MaxMalwareDescriptionSections = 3 // In some cases, the malware description includes the platform (i.e: Win.Trojan.Generic-123) DetectedMalwarePathPosition = 0 DetectedMalwareDescriptionPosition = 1 LongMalwareTypePosition = 1 MalwareDetectedIndication = "FOUND" // When a line in a clam scan includes the word "FOUND", it describes a malware detection ScanSummaryText = "SCAN SUMMARY" // The clam output text that indicates the scan summary KnownVirusesField = "Known viruses" EngineVersionField = "Engine version" ScannedDirectoriesField = "Scanned directories" ScannedFilesField = "Scanned files" InfectedFilesField = "Infected files" DataScannedField = "Data scanned" DataReadField = "Data read" TimeTakenField = "Time" ScanSummaryTextField = "Scan Summary" FieldSeparator = ":" FreshclamConfPath = "/etc/clamav/freshclam.conf" PrivateMirrorConf = "PrivateMirror" ScriptedUpdatesConf = "ScriptedUpdates" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.