Created
January 27, 2016 18:00
-
-
Save etataurov/87f77f3f4cfe33f37f51 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