Code Monkey home page Code Monkey logo

vt-scan's Introduction

vt-scan: VirusTotal Scan Script

Simple bash script that allows you to either submit a file object for scan by VirusTotal or retrieve a report from a VirusTotal scan.

Why bash? Because it's easily available on most Linux boxes and doesn't require installing a separate interpreter or additional overhead (libraries, smaller footprint).

For the record, I'm sure similar projects already exist, but since I quickly created this out of necessity, I figured that I'd share it anyway.

Requirements

This is a bash script, so the requirements are:
* bash
* curl
* jq

This script also requires that you supply your own API token for VT. You may sign up for VT (and then generate a token) here: https://www.virustotal.com/gui/join-us.

Usage

VirusTotal Scan Script for API V3
Interact with VT from your shell.

Required parameters: API token, Action to perform.
Usage example: ./vt-scan.sh -k <API TOKEN> -f <FILE PATH>

-k		API key for VirusTotal - REQUIRED.  
-f		FULL PATH to a file object for VT to scan.  
-u		Submit URL for VT scan.  
-d		Submit domain for VT scan.  
-i		Submit IP for VT scan.  
-a		Retrieve analysis for existing scan, expects base64 object ID.  
-v		Display version information.  
-h		Display this help text with usage information.  

TODO:

  • Allow reading API token from local file (e.g. .vtscan/token)
  • Integrate additional public APIs from VT
  • Integrate addition private APIs from VT
  • Pretty-print output formatting; human-readable terminal output

vt-scan's People

Contributors

ajjonesycomau avatar izzysoft avatar sevsec 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.