Closed TerminalFi closed 2 years ago
Library appears to be missing various values from libclamav
For example
/* general */ #define CL_SCAN_GENERAL_ALLMATCHES 0x1 /* scan in all-match mode */ #define CL_SCAN_GENERAL_COLLECT_METADATA 0x2 /* collect metadata (--gen-json) */ #define CL_SCAN_GENERAL_HEURISTICS 0x4 /* option to enable heuristic alerts */ #define CL_SCAN_GENERAL_HEURISTIC_PRECEDENCE 0x8 /* allow heuristic match to take precedence. */ #define CL_SCAN_GENERAL_UNPRIVILEGED 0x10 /* scanner will not have read access to files. */
I have updated it, you can run the following command to update to latest version
go get github.com/ca110us/go-clamav@v0.6.0
Library appears to be missing various values from libclamav
For example