Skip to main content

VirusTotal Utility Scripts

Project description

VirusTotal Utility Library and Command Line Tools

Installation

pipx

This is the recommended installation method.

$ pipx install virustotal-tddschn

pip

$ pip install virustotal-tddschn

Utilities

vtpy

Features

Homebrew integration
  • --brew & --cask: Parsing Homebrew's DSL formula and cask files, extracting the package checksum with matching CPU arch

    Click to expand example
    $ vtpy -w inkscape -B
    
    File path:       /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/inkscape.rb
    SHA256 checksum: 8117d5d864358c9f626ce574d07d2f121ad96fc96a535cc3fddaba3c74bd3279
    VirusTotal URL:  https://www.virustotal.com/gui/search/8117d5d864358c9f626ce574d07d2f121ad96fc96a535cc3fddaba3c74bd3279
    
  • --brew-cache: Locating the brew-downloaded package in brew's cache

    Click to expand example
    $ vtpy -c google-chrome -b firefox -B
    
    File path:       /Users/tscp/Library/Caches/Homebrew/downloads/88881e66883c4776fff9b3019b48a26795020439a33ddbedd3bd4620283aecd2--googlechrome.dmg
    SHA256 checksum: 201739d3cf941d33daf605351160f22bdd5877070267e2b42f37efa661378772
    VirusTotal URL:  https://www.virustotal.com/gui/search/201739d3cf941d33daf605351160f22bdd5877070267e2b42f37efa661378772
    
macOS specific features
  • --mac: Locating binaries inside macOS app bundles (the .app directories).

    Click to expand example
    $ vtpy -m /Applications/kitty.app -B
    
    File path:       /Applications/kitty.app/Contents/MacOS/kitty
    SHA256 checksum: ca6aabac5bd9cd9dde7e3c713eae2031aabec08129218817aecbccb5408b3b0b
    VirusTotal URL:  https://www.virustotal.com/gui/search/ca6aabac5bd9cd9dde7e3c713eae2031aabec08129218817aecbccb5408b3b0b
    

Usage

$ vtpy --help

usage: vtpy [-h] [--hash HASH] [-f FILE] [-b browser] [-B] [-ldl] [-w BREW] [-C] [-c BREW] [-m APP] [-F PATH] [-V]

Search file or Homebrew package checksum on VirusTotal

options:
  -h, --help            show this help message and exit
  --hash HASH           The hash to search (default: None)
  -f FILE, --file FILE  The file to hash and check (default: None)
  -b browser, --browser browser
                        Browser to open URLs (default: chrome)
  -B, --no-browser      Do not open URLs in a browser (default: False)
  -ldl, --latest-download
                        Use the latest downloaded file (default: False)
  -w BREW, --brew BREW  Use the checksum in Homebrew formula or cask file (default: None)
  -C, --cask            Use cask (default: None)
  -c BREW, --brew-cache BREW
                        Use brew downloaded cache (default: None)
  -m APP, --mac APP     Path to app bundle (default: None)
  -F PATH, --brew-file PATH
                        Use the checksum in the brew formula or cask file (default: None)
  -V, --version         show program's version number and exit

Develop

$ git clone https://github.com/tddschn/virustotal-tddschn.git
$ cd virustotal-tddschn
$ poetry install

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

virustotal_tddschn-0.2.3.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

virustotal_tddschn-0.2.3-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file virustotal_tddschn-0.2.3.tar.gz.

File metadata

  • Download URL: virustotal_tddschn-0.2.3.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.3 Darwin/22.4.0

File hashes

Hashes for virustotal_tddschn-0.2.3.tar.gz
Algorithm Hash digest
SHA256 a92b8004244d7570bac5a2f82387d78e7c586279737e8e3005cde60ba8c1dd04
MD5 02b662946e558b7dcd141cef03acb968
BLAKE2b-256 73c18eeffd157798c7a9282c9fbfa76f194e83531737c0a6e891bdbed21eca37

See more details on using hashes here.

File details

Details for the file virustotal_tddschn-0.2.3-py3-none-any.whl.

File metadata

File hashes

Hashes for virustotal_tddschn-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2182ea164ec7d12ac49ef7b6ac172f60e31ea2ecd53562dcd92d0bb52f90e018
MD5 ba2fafd724f361314f6f215346841d99
BLAKE2b-256 631c0bf7156aadace01a08996c2fa0f54168d3b8b8ac9deeefd07ab3f7aa6184

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page