[+] Loaded 5000 domain(s)
| Collecting results ( Total progress: 0.40%)Traceback (most recent call last):
File "/home/sumit_grover/BigIP_scanner.py", line 131, in
main(args)
File "/home/sumit_grover/BigIP_scanner.py", line 96, in main
domain_result = site.result()
File "/usr/lib/python3.7/concurrent/futures/_base.py", line 425, in result
return self.get_result()
File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in get_result
raise self._exception
File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, *self.kwargs)
File "/home/sumit_grover/BigIP_scanner.py", line 31, in Big_man
if no_detection or detect(url, heads):
File "/home/sumit_grover/BigIP_scanner.py", line 25, in detect
title = re.compile("title>(.)</title").findall(req.content.decode())
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xcc in position 255: invalid continuation byte
The script crashes with the list of 5k domains.
python3 ~/BigIP_scanner.py xaa
[+] Loaded 5000 domain(s) | Collecting results ( Total progress: 0.40%)Traceback (most recent call last): File "/home/sumit_grover/BigIP_scanner.py", line 131, in
main(args)
File "/home/sumit_grover/BigIP_scanner.py", line 96, in main
domain_result = site.result()
File "/usr/lib/python3.7/concurrent/futures/_base.py", line 425, in result
return self.get_result()
File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in get_result
raise self._exception
File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, *self.kwargs)
File "/home/sumit_grover/BigIP_scanner.py", line 31, in Big_man
if no_detection or detect(url, heads):
File "/home/sumit_grover/BigIP_scanner.py", line 25, in detect
title = re.compile("title>(.)</title").findall(req.content.decode())
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xcc in position 255: invalid continuation byte