diff --git a/theHarvester/discovery/pentesttools.py b/theHarvester/discovery/pentesttools.py index 4f8266ae..f6d0d8ee 100644 --- a/theHarvester/discovery/pentesttools.py +++ b/theHarvester/discovery/pentesttools.py @@ -19,12 +19,16 @@ def __init__(self, word): async def poll(self, scan_id): start = timer() + clock = 300 while True: current_time = timer() - if current_time - start >= 300: - status = input('Pentesttools scan has reached 5 minute mark would you like to stop scan: y/n') + if current_time - start >= clock: + status = input(f'Pentesttools scan has reached {clock // 60 } minute mark would you like to stop scan: ' + f'y/n') + clock *= 2 if status == 'y': return self.total_results + time.sleep(3) # Get the status of our scan scan_status_data = {