This is a Python script for scanning files, URLs, and IP addresses using the VirusTotal API. It accepts multiple inputs and generates a CSV report containing the results.
Python 3.x
requests library
tqdm
To use this script, you will need to have a VirusTotal API key. If you don't have one, you can sign up for a free account.
Clone the repository:
git clone https://github.com/Ozer0x777/Virus_Total_API_Scanner.git
Install the required libraries:
pip install -r requirements.txt
python virustotal_api_scanner.py --api_key <API_KEY> [--file <FILE_PATH> ...] [--url <URL> ...] [--ip <IP_OR_HASH> ...] [--input <INPUT_FILE>] [--output <OUTPUT_FILE>]
--api_key: Your VirusTotal API key.
--file: One or more file paths to scan.
--url: One or more URLs to scan.
--ip: One or more IP addresses or hashes to scan.
--input: A text file containing a list of URLs, IP addresses, and hashes to scan (one per line).
--output: The output file for the scan results (default: scan_results.csv).
python virustotal_api_scanner.py --api_key abcdef123456 --file sample.exe --url https://www.google.fr
- Adding TQDM
- Auto correct empty lines
- Windows executable version
Contributions are welcome! If you find a bug or have a feature request, please open an issue on the GitHub repository.