malice-plugins / clamav Goto Github PK
View Code? Open in Web Editor NEWMalice ClamAV Plugin
License: MIT License
Malice ClamAV Plugin
License: MIT License
Building avscan Go binary...
go version go1.10.8 linux/amd64
package golang.org/x/sys/unix: unrecognized import path "golang.org/x/sys/unix" (parsing golang.org/x/sys/unix: XML syntax error on line 9: expected /> in element)
time http -f localhost:3993/scan [email protected]
HTTP/1.1 200 OK
Content-Length: 129
Content-Type: application/json; charset=UTF-8
Date: Thu, 24 Aug 2017 06:17:10 GMT
{
"clamav": {
"engine": "0.99.2",
"error": "",
"infected": true,
"known": "6303004",
"result": "Eicar-Test-Signature",
"updated": "20170813"
}
}
real 0m14.414s
user 0m0.244s
sys 0m0.041s
scan a simple txt cost more than 14s seconds
LibClamAV Warning: Cannot dlopen libclamunrar_iface: file not found - unrar support unavailable
when docker build
(39/40) Installing .build-deps (0)
(40/40) Upgrading musl-utils (1.1.19-r10 -> 1.1.19-r11)
Executing busybox-1.28.4-r0.trigger
Executing ca-certificates-20190108-r0.trigger
OK: 555 MiB in 65 packages
Building avscan Go binary...
go version go1.10.8 linux/amd64
package github.com/sirupsen/logrus: case-insensitive import collision: "github.com/sirupsen/logrus" and "github.com/Sirupsen/logrus"
The command '/bin/sh -c apk --update add --no-cache -t .build-deps build-base mercurial musl-dev openssl bash wget git gcc go && echo "Building avscan Go binary..." && cd /go/src/github.com/malice-plugins/clamav && export GOPATH=/go && go version && go get && go build -ldflags "-s -w -X main.Version=v$(cat VERSION) -X main.BuildTime=$(date -u +%Y%m%d)" -o /bin/avscan && rm -rf /go /usr/local/go /usr/lib/go /tmp/* && apk del --purge .build-deps' returned a non-zero code: 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.