remove unicode reference (bw p2 compat)

This commit is contained in:
Nicolas Mattiocco 2020-12-04 17:50:18 +01:00
parent 0a77a784c8
commit 147ecdca09
1 changed files with 2 additions and 1 deletions

View File

@ -303,7 +303,8 @@ class GoogleEnum(enumratorBaseThreaded):
return links_list
def check_response_errors(self, resp):
if (type(resp) is str or type(resp) is unicode) and 'Our systems have detected unusual traffic' in resp:
# if (type(resp) is str or type(resp) is unicode) and 'Our systems have detected unusual traffic' in resp:
if (type(resp) is str) 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