mirror of
https://github.com/laramies/theHarvester.git
synced 2025-02-25 15:03:01 +08:00
Decreased time inbetween google dork searches to increase speed of it.
This commit is contained in:
parent
20732eab7c
commit
221ffa4c84
1 changed files with 3 additions and 3 deletions
|
@ -86,14 +86,14 @@ def process(self,google_dorking):
|
|||
while self.counter <= self.limit and self.counter <= 200: # only 200 dorks in list
|
||||
self.googledork() #call google dorking method if user wanted it!
|
||||
# more = self.check_next()
|
||||
time.sleep(.1)
|
||||
time.sleep(.5)
|
||||
print "\tSearching " + str(self.counter) + " results..."
|
||||
self.counter += 100
|
||||
|
||||
def process_profiles(self):
|
||||
while self.counter < self.limit:
|
||||
self.do_search_profiles()
|
||||
time.sleep(0.2)
|
||||
time.sleep(0.15)
|
||||
self.counter += 100
|
||||
print "\tSearching " + str(self.counter) + " results..."
|
||||
|
||||
|
@ -146,7 +146,7 @@ def send_dork(self, start, end): # helper function to minimize code reusability
|
|||
try:
|
||||
link = self.links[i] # get link from dork list
|
||||
req = requests.get(link, params=params)
|
||||
time.sleep(.2) # sleep for a short time
|
||||
time.sleep(.15) # sleep for a short time
|
||||
self.results = req.content
|
||||
self.totalresults += self.results
|
||||
except:
|
||||
|
|
Loading…
Reference in a new issue