Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed glob when called from CLI #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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