Official CLI for VirusTotal API. Analyze suspicious files and URLs to detect malware.
10K+
Official CLI for VirusTotal API. Retrieves file or url results from the VirusTotal database. File, hash, URL/IP can be used for searching.
any file
Virustotal report
Dockerfile linkslatest
(virustotal/Dockerfile)Method 1. Clone the repository and build by yourself
1. Clone the repository
git clone https://gitlab.com/CinCan/tools
cd tools/virustotal/
2. Build OR pull the docker image
docker build . -t cincan/virustotal
docker pull cincan/virustotal
3. Run the Docker container
With cincan-command or using Docker:
Get information about file hash:
cincan run cincan/virustotal -k <APIKEY> file <HASH>
# Or similar with Docker
docker run cincan/virustotal -k <APIKEY> file <HASH>
Scans all hashes in the newline delimited file. Note -i flag to pass stdin into container.
cat hashes.txt | cincan run -i cincan/virustotal -k <APIKEY> file -`
# Same with Docker
cat hashes.txt | docker run -i cincan/virustotal -k <APIKEY> file -
With cincan-command
cincan run cincan/virustotal -k <APIKEY> scan file yourfile.exe
Or Docker:
docker run -v /files:/files cincan/virustotal -k <APIKEY> scan file /files/yourfile.exe
For more information, use --help option of the tool.
Tox can be used for testing this tool (run from root of this repository):
pip install tox
tox stable/virustotal
Content type
Image
Digest
sha256:910546500…
Size
11.3 MB
Last updated
about 4 years ago
docker pull cincan/virustotal