mirror of
https://github.com/laramies/theHarvester.git
synced 2024-11-10 17:13:07 +08:00
fix for issue #96:2 seconds delay added to shodan search
https://github.com/laramies/theHarvester/issues/96
This commit is contained in:
parent
3c23242b44
commit
daa6cc1e53
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
import re
|
||||
import getopt
|
||||
import stash
|
||||
import time
|
||||
|
||||
try:
|
||||
import requests
|
||||
|
@ -506,6 +507,7 @@ def start(argv):
|
|||
a = shodansearch.search_shodan(ip)
|
||||
shodanvisited.append(ip)
|
||||
results = a.run()
|
||||
time.sleep(2)
|
||||
for res in results:
|
||||
if res['info'] == []:
|
||||
res['info'] = ''
|
||||
|
|
Loading…
Reference in a new issue