Open bontchev opened 8 years ago
@bontchev
Here's some lines from Python, where 'remotesha' = a SHA256 hash. It's a little workaround, but it works...
remotesha = sha256.hexdigest()
report = v.get(remotesha)
if report is None:
print bcolors.FAIL,'\n[!] Failed: SHA256 Hash does not exist on Virustotal!\n',bcolors.ENDC
exit(0)
If the scanned object (e.g., a hash) is not known to VirusTotal,
result
is set toNone
andresult.join
fails.