From 221ffa4c844f2271732a72cf25e40f90d8dadfc7 Mon Sep 17 00:00:00 2001 From: NotoriousRebel Date: Fri, 9 Nov 2018 12:45:54 -0500 Subject: [PATCH] Decreased time inbetween google dork searches to increase speed of it. --- discovery/googlesearch.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/discovery/googlesearch.py b/discovery/googlesearch.py index b342f75c..12b1403b 100644 --- a/discovery/googlesearch.py +++ b/discovery/googlesearch.py @@ -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: