Fix issue #114 argument of type 'int' is not iterable in function check_response_errors

This commit is contained in:
Stephan Gross 2017-09-25 06:41:14 +03:00
parent 52089f5761
commit da4b3fa6eb
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ class GoogleEnum(enumratorBaseThreaded):
return links_list
def check_response_errors(self, resp):
if 'Our systems have detected unusual traffic' in resp:
if isinstance(resp, basestring) and 'Our systems have detected unusual traffic' in resp:
self.print_(R + "[!] Error: Google probably now is blocking our requests" + W)
self.print_(R + "[~] Finished now the Google Enumeration ..." + W)
return False