YAPS.py 0.3 released – Python script to upload samlpes to VirusTotal


Finished automation of a process to upload samples from multiple trackers.

Hope You can add it to Your systems and daily jobs.

History, requirements and installation – see here

Link to getYAPS.py

don’t forget to remove _.txt )

What added: 

1. Added check of sample, if it already present on VirusTotal database. If so – just data dumped to log

2. If sample not present – it uploaded to VirusTotal.

3. All info about samples: Is sample new, SHA256 hash, detect ratio and URL to review – dumped to vtlog.txt at same dir

4. Comments added – in case You need to comment samples. by default enabled on already detected samples. Edit comment variable if needed. Currently there is a problem to comment just submitted file – will be solved.

5. All this within ToS of VirusTotal and thx to them for good tool 🙂

Hope it useful not to me 🙂

Stay Safe




YAPS.py – Yet another Python script to upload samlpes to VirusTotal.com


this is SMALL simple Python script to upload bulk of malware samples to virustotal.com

Grab here yaps.py [don’t forget to remove _.txt at the end]

To use – need python installed, VirisTotal API key and Requests library for python

How to install Requests library: 

Install it with pip

$ pip install requests

or easy_install

$ easy_install requests

How to et API key of VirusTotal.com

1. register on virustotal.com

2. Go to Profile -API and grab the key

3. Incert it in api_key variable value in script before You run it


YAPS.py Usage:

python yaps.py path/to/malware.exe

But major usage is – upload mass of samples at once.

python yaps.py  path/to/*

Output to console, in JSON format.

This is beta, no comments, ratings and nice output logs present here, just raw upload.

Request features and I’ll update the script.

Stay Safe