From 147ecdca095bf82815ef660e7f1a624d740e3fb6 Mon Sep 17 00:00:00 2001 From: Nicolas Mattiocco Date: Fri, 4 Dec 2020 17:50:18 +0100 Subject: [PATCH] remove unicode reference (bw p2 compat) --- sublist3r.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sublist3r.py b/sublist3r.py index 0fdf8c7..9213ca0 100755 --- a/sublist3r.py +++ b/sublist3r.py @@ -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