Giter Site home page Giter Site logo

ohio813 / c-vtapi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from virustotal/c-vtapi

0.0 1.0 0.0 245 KB

Official implementation of the VirusTotal API in C programming language

License: Other

Makefile 0.48% QMake 0.25% M4 12.85% C 84.63% C++ 1.78%

c-vtapi's Introduction

VirusTotal C API library
This libary is designed to work with both the:	
	* The public API https://www.virustotal.com/en/documentation/public-api/
	* The private API https://www.virustotal.com/en/documentation/private-api/

Runtime Dependencies
	* curl or libcurl  (curl-devel package on some distributions)
	* janson version 2.2 (min) (2.5 or newer recommeded.  janson-devel on some distros)

Compiling Dependencies
	* automake, autoconf  (might be autotools package on your platform)
	* gcc
	* libtool

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:
	* Installl mingw
		*  mingw32 gcc-g++
		*  mingw32-autoconf
		*  mingw32-automake
	* compile libcurl  (See their docs on windows compile)

Windows compilation (MS Visual Studio)
	* install MS Visual Studio 2013
	* install CMake
	* Compile jansson  (see janson docs)
	* Compile curl  (see janson docs)
	

See Examples in examples/
For some example test programs using 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

c-vtapi's People

Contributors

daissi avatar karlhiramoto avatar shibumi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.