Skip to content

Removed glob when called from CLI#5

Open
adepasquale wants to merge 2 commits intogawen:masterfrom
adepasquale:master
Open

Removed glob when called from CLI#5
adepasquale wants to merge 2 commits intogawen:masterfrom
adepasquale:master

Conversation

@adepasquale
Copy link

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 

glob.glob() does not work when passing an URL or an hash to scan mode. I think this is the expected behaviour.
...otherwise API_KEY gets always used.
@adepasquale
Copy link
Author

This should also solve issue #1

@adepasquale
Copy link
Author

Please let me know if you are interested or not.

Thanks

@ghost
Copy link

ghost commented Aug 10, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant