Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

MetaScanConnector.py #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

pmcdonn1
Copy link

This is a script I wrote to send hashes and files to a local MetaScan server. This is heavily borrowed from the VirusTotal script and I'm not really a programmer so if anyone can make it better, please have at it.
-Patrick

This is a script I wrote to send hashes and files to a local MetaScan server. This is heavily borrowed from the VirusTotal script and I'm not really a programmer so if anyone can make it better, please have at it.
-Patrick
raise TypeError("Missing required MetaScan authentication token.")
#My test system does not require a API token so I'm not adding it to the JSON call
self.ms_token = ms_token
self.ms_url = 'http://yourMetaScanServer/metascan_rest/'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add the metascan server hostname to the __init__() parameters for your class

@jgarman
Copy link
Contributor

jgarman commented Nov 24, 2015

Thanks for the contribution! Address the comments above and I'll merge your pull request.

@pmcdonn1
Copy link
Author

pmcdonn1 commented Dec 2, 2015

Jason,
I noticed an error condition that I am not handling in my code so I'm working on that right now. Sorry for the delay. I'll get this updated as soon as I can.
-Patrick

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants