mirror of https://github.com/MISP/misp-modules
Added virustotal module
parent
393b637514
commit
042bf2bb2f
|
@ -35,8 +35,11 @@ def handler(q=False):
|
|||
if "domain" in q:
|
||||
r["results"] += getDomain(q["domain"], key)
|
||||
|
||||
with open("/home/hward/debug.txt", "w") as f:
|
||||
f.write(json.dumps(r))
|
||||
uniq = []
|
||||
for res in r["results"]:
|
||||
if res not in uniq:
|
||||
uniq.append(res)
|
||||
r["results"] = uniq
|
||||
return r
|
||||
|
||||
def getIP(ip, key, do_not_recurse = False):
|
||||
|
|
Loading…
Reference in New Issue