internetwache / GitTools

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

Problem with the finder #28

Closed realtebo closed 4 years ago

realtebo commented 4 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 4 years ago

Hi, did you run it with python2 or python3?

realtebo commented 4 years ago

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

gehaxelt commented 4 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?