internetwache / GitTools

A repository with 3 tools for pwn'ing websites with .git repositories available
MIT License
3.87k stars 624 forks source link

Problem with the finder #28

Closed realtebo closed 5 years ago

realtebo commented 5 years ago

Scanning... [] Found: .com multiprocessing.pool.RemoteTraceback: """ Traceback (most recent call last): File "/usr/lib/python3.5/multiprocessing/pool.py", line 119, in worker result = (True, func(args, *kwds)) File "/usr/lib/python3.5/multiprocessing/pool.py", line 44, in mapstar return list(map(args)) File "./Finder/gitfinder.py", line 26, in findgitrepo answer = response.read(200).decode() UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte """

gehaxelt commented 5 years ago

Hi, did you run it with python2 or python3?

realtebo commented 5 years ago

Actually I don't remember. I'll retry soon and I'll update you Thanks for reply.

gehaxelt commented 5 years ago

@realtebo thanks!

According to Stackoverflow [0], this might also be a bad, non-utf8 compliant character. I've created https://github.com/internetwache/GitTools/pull/29 which should fix that by ignoring such characters.

Could you check if that works?