- Clone this repository
git clone git@github.com:bizarrechaos/virustotal-client.git
- Install the requirements
sudo pip install -r requirements.txt
- Initialize the config file
Login in or create a virustotal account here.
./vtc.py init --virustotal VIRUSTOTAL_APIKEY [--googl GOOGL_APIKEY]
Optionally if you would like to shorten urls with googl follow this guide to obtain your apikey
To view the help text use -h
./vtc.py -h
This is the command we just used to create the config file.
If you ever lose your config file or your apikeys change just rerun the command.
./vtc.py init --virustotal VIRUSTOTAL_APIKEY [--googl GOOGL_APIKEY]
This is the command used to get reports from virsustotal.
This is the command used to upload files to or request url scans from virustotal.
This command will return the sha256 hash of a file.
This command will print the file signature (first 8 octets) from a files hex.
You can bypass the virustotal apikey in the config file anytime by supplying one at runtime.
By default all output will be ascii tables or plain text.
This option allows you to output in json.
- @jwalker for the virustotal module.
- @igrishaev for the googl module.