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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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