diff --git a/modules/intelligence/virustotal_api.py b/modules/intelligence/virustotal_api.py index 8b3ba12c..6ab467c1 100644 --- a/modules/intelligence/virustotal_api.py +++ b/modules/intelligence/virustotal_api.py @@ -28,6 +28,8 @@ def query(self): self.subdomains.update(subdomains) data = resp.json() next_cursor = data.get('meta').get('cursor') + if not next_cursor: + break def run(self): """