Skip to content

Latest commit

 

History

History
41 lines (34 loc) · 1.27 KB

README.md

File metadata and controls

41 lines (34 loc) · 1.27 KB

vtpy - virustotal.com upload

Actions Status

vtpy can upload single files to virustotal.com for virus analysis. Instead of the virustotal api it uses a headless chrome browser with selenium. This allows it to upload files without a file size limit.

Installation

vtpy is not published on PyPI, which means you have to download or clone the repository. Additionally, vtpy requires chromedriver to be installed.

Usage

You can use vtpy directly from the command line.

python -m vtpy --file path/to/your/file

The result will look similar to

{
  id: <file_id>,
  total_results: 51,
  malicious_results: 0,
  detailed_results: [
    { name: "Bkav", details: "Undetected" },
    { name: "Kasperky", details: "Undetected" },
    ...
  ]
}

Alternatively, you can use vtpy from within your python projects. Copy the vtpy folder into your project folder, then

from vtpy import vtpy

vtpy.analyze("path/to/your/file")

License

MIT