Created
January 27, 2016 17:56
-
-
Save etataurov/5c93af3baad28984df46 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if answer["response_code"] == 1 : # if we got a regular result | |
pos = answer["positives"] # number of checks that consider this part as a virus | |
tot = answer["total"] # total number of checks | |
if answer["positives"] >1 : # if there is any positive | |
result = True # set the result to malware | |
resultStringLong += "# "+ filename+":"+ str(pos) + "/" + str(tot) + " " # result 'en detail' | |
else : | |
resultStringLong += "# clean:"+filename+" " # no result, most likely that means: not a virus |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment