gawen / virustotal

💊 VirusTotal Public API 2.0 client for Python 2.x
https://www.virustotal.com/
155 stars 61 forks source link

Removed glob when called from CLI #5

Open adepasquale opened 11 years ago

adepasquale commented 11 years ago

glob.glob() does not work when passing an URL or an hash to scan mode.

I think this is the expected behaviour:

python virustotal.py get ~/path/to/file/a0360c3e3e5d86f4e590c11946b359ed 
=== ~/path/to/file/a0360c3e3e5d86f4e590c11946b359ed ===
Report:
- MicroWorld-eScan (12.0.250.0, 20130729):      Trojan.Generic.KDV.522400
- nProtect (2013-07-29.01, 20130729):   Trojan-Spy/W32.ZBot.182272.AC
- CAT-QuickHeal (12.00, 20130729):      TrojanPWS.Zbot.Gen
...

Otherwise, the scanner does nothing:

python virustotal.py get a0360c3e3e5d86f4e590c11946b359ed 
adepasquale commented 11 years ago

This should also solve issue #1

adepasquale commented 10 years ago

Please let me know if you are interested or not.

Thanks

ghost commented 9 years ago

Thank you. This works perfectly. Wish they would merge this in.