Removed calls to print

pull/47/head
Hannah Ward 6 years ago
parent a53c43701a
commit 9db9247e55
No known key found for this signature in database
GPG Key ID: BA89E572EE1B4C5F
  1. 5
      misp_modules/modules/expansion/virustotal.py

@ -49,7 +49,6 @@ def handler(q=False):
def getIP(ip, key, do_not_recurse = False):
global limit
print("Getting info for {}".format(ip))
toReturn = []
req = requests.get("https://www.virustotal.com/vtapi/v2/ip-address/report",
params = {"ip":ip, "apikey":key}
@ -70,8 +69,6 @@ def getIP(ip, key, do_not_recurse = False):
def getDomain(domain, key, do_not_recurse=False):
global limit
print("Getting info for {}".format(domain))
toReturn = []
req = requests.get("https://www.virustotal.com/vtapi/v2/domain/report",
params = {"domain":domain, "apikey":key}
@ -112,7 +109,6 @@ def isset(d, key):
def getMoreInfo(req, key):
global limit
print("Getting extra info for {}".format(req))
r = []
#Get all hashes first
hashes = []
@ -139,7 +135,6 @@ def getMoreInfo(req, key):
sample = requests.get("https://www.virustotal.com/vtapi/v2/file/download",
params = {"hash":hsh, "apikey":key})
print(sample)
malsample = sample.content
r.append({"types":["malware-sample"],
"categories":["Payload delivery"],

Loading…
Cancel
Save