Skip to content

Commit c56ff53

Browse files
committed
fix bug
1 parent 77ccb38 commit c56ff53

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/identify-cve-exploits.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,9 @@ def enrich_poc_existence_with_pdcp_service(cves_info, api_key):
176176
pocs_url = "-"
177177
response = session.get(target, timeout=HTTP_REQUEST_TIMEOUT)
178178
if response.status_code == 429:
179+
print(f"\r> Wait 60 seconds due to HTTP 429...{' ':<40}", end="", flush=True)
179180
time.sleep(60)
181+
print(f"\r> Search information for {cve_id:<60}", end="", flush=True)
180182
response = session.get(target, timeout=HTTP_REQUEST_TIMEOUT)
181183
if response.status_code == 200:
182184
data = response.json()

0 commit comments

Comments
 (0)