Quick fix to the invalid hash types offered on all returned hashes, hopefully fixes #162

pull/165/head
Andras Iklody 2018-02-20 14:08:14 +01:00 committed by GitHub
parent 37ea090cba
commit 978903f911
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ def getMoreInfo(req, key):
# Get all hashes first
hashes = []
hashes = findAll(req, ["md5", "sha1", "sha256", "sha512"])
r.append({"types": ["md5", "sha1", "sha256", "sha512"], "values": hashes})
r.append({"types": ["freetext"], "values": hashes})
for hsh in hashes[:limit]:
# Search VT for some juicy info
try: