Skip to main content

Scan files for virus online using VirusTotal directly from your cli.

Project description

ScanIt

Who keeps antivirus nowadays? Go on. Noone wants to slow down his PC AF for some unneccesory antivirus. But we sometimes needs to scan some file for virus. So here is an solution. ScanIt Scans a file using VirusTotal's online file scanner.

NOTE: You are in module branch. For windows we suggest check out master branch too.

Why ScanIt?

A lot of people, including me, prefers not to keep Antivirus in their PC. But sometimes we really need to scan a file for virus. At such times we use online virus scanners like VirusTotal.com. ScanIt has bring down this functionality to your cli, and guess what? It doesn't slows down your system by even a 0.01 percent. So its time to goodbye AntiViruses and say hello to online file scan services.

Privacy?

The script first sends the hash of a file to VirusTotal to check if the same file is already available to VirusTotal. In this case your data is totally secure as the file is not uploaded. But if VirusTotal doesn't recognises that hash, then the script asks you if you want to upload the file, in case you answer with yes, it uploads the file. So it's up to you if you want to upload a file or not. Sensitive files should not be uploaded.

Installation

Installation from PyPi:

  • Make sure you have python (version >= 3) and pip installed.
  • Run the following command from your command line:
pip install scanit-cli  # may be pip3 in case of linux

Check out PyPi.

Installation from repo:

  • Make sure you have pip and git installed. Now use the following commands to install scanit:
git clone https://github.com/shivamsn97/ScanIt
cd ScanIt
git checkout module
python setup.py install  # may be python3 in case of linux

Uninstallation:

  • Run the following command:
pip uninstall scanit-cli  # May be pip3 in case of linux

Usage

  • You can use it from your cli using the command:
$ scanit somefile.sh

Notes

  • Currently made only for Windows, contributions are welcome to make it work on linux too.
  • Your privacy is in your hands. Please do not upload sensitive files to virustotal db.
  • Please do not open low-efforts PR
  • A star to the repo would be awesome.

Credits

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

scanit-cli-1.0.5.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

scanit_cli-1.0.5-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file scanit-cli-1.0.5.tar.gz.

File metadata

  • Download URL: scanit-cli-1.0.5.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for scanit-cli-1.0.5.tar.gz
Algorithm Hash digest
SHA256 6cd42e225322eaf572083a6b92f9428ff97da4b56db777a3be02917f39a105ac
MD5 7473479212938c9bd8589bc1ace25967
BLAKE2b-256 ac4eb92c7b396b2ac861fa1938221d6acce2ff9e9f4f6b628d3545fe195ac293

See more details on using hashes here.

File details

Details for the file scanit_cli-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: scanit_cli-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for scanit_cli-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 27a502cbdfba9b4e5292dded4cffcdda10c2e1bc977e7cf57de8011f2e265f7f
MD5 a2784aa387d9fa6a6ec0b0f76031ab50
BLAKE2b-256 6d290fdc0a6117a148f61d488f09257f2a36d4c2c5b75c3d605020a386225997

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