diff --git a/Finder/gitfinder.py b/Finder/gitfinder.py index d0188ee..d41c3d9 100755 --- a/Finder/gitfinder.py +++ b/Finder/gitfinder.py @@ -23,7 +23,7 @@ def findgitrepo(output_file, domains): try: # Try to download http://target.tld/.git/HEAD with urlopen(''.join(['http://', domain, '/.git/HEAD']), timeout=5) as response: - answer = response.read(200).decode() + answer = response.read(200).decode('utf-8', 'ignore') except HTTPError: return