VirusTotal / c-vtapi

Official implementation of the VirusTotal API in C programming language
Other
110 stars 52 forks source link

Build Status

VirusTotal C API library This libary is designed to work with both the:

Runtime Dependencies

Compiling Dependencies

Debian or Ubuntu Dependencies: sudo apt-get install automake autoconf libtool libjansson-dev libcurl4-openssl-dev

Redhat, Fedora, Centos or RPM based distros: yum install libtool jansson-devel

To compile on Linux, BSD, or Mac OS X:

autoreconf -fi ./configure make sudo make install

If you wish to build the examples in the 'examples' directory: autoreconf -fi ./configure --enable-examples make sudo make install

If you have doxygen installed on your system you may optionally generate developer doxygen docs: make doxygen-doc

Usage on MS Windows is partially functioal now, but requires more patches to be fully supported.

Windows compilation:

Windows compilation (MS Visual Studio)

See Examples in the examples/ directory for some example test programs which use the API.

url --apikey=YOUR_KEY --scan http://youtube.com
url --apikey=YOUR_KEY --report http://youtube.com

scan --help
./scan --apikey YOUR_KEY --filescan /bin/ls
./scan --apikey YOUR_KEY --report HASH