mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-25 20:37:48 +08:00
Update virustotal_api.py
修改VT API查询死循环问题
This commit is contained in:
@@ -28,6 +28,8 @@ class VirusTotalAPI(Query):
|
|||||||
self.subdomains.update(subdomains)
|
self.subdomains.update(subdomains)
|
||||||
data = resp.json()
|
data = resp.json()
|
||||||
next_cursor = data.get('meta').get('cursor')
|
next_cursor = data.get('meta').get('cursor')
|
||||||
|
if not next_cursor:
|
||||||
|
break
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user