def findEmailFromContributor(username, repo, contributor):
response = requests.get('https://github.com/%s/%s/commits?author=%s' % (username, repo, contributor), auth=HTTPBasicAuth(username, '')).text
latestCommit = re.search(r'href="/%s/%s/commit/(.*?)"' % (username, repo), response)
if latestCommit:
latestCommit = latestCommit.group(1)
else:
latestCommit = 'dummy'
commitDetails = requests.get('https://github.com/%s/%s/commit/%s.patch' % (username, repo, latestCommit), auth=HTTPBasicAuth(username, '')).text
email = re.search(r'', commitDetails)Osgint – OSINT tool to find information about GitHub user
21–28 of 28 posts
Re: Osgint – OSINT tool to find information about GitHub user
#22That's basically the idea behind https://reporeach.com
Re: Osgint – OSINT tool to find information about GitHub user
#23Re: Osgint – OSINT tool to find information about GitHub user
#24Who does this benefit besides spammers?
Re: Osgint – OSINT tool to find information about GitHub user
#25You may not be the creator, but the intent of this repo appears to be at odds with GitHub's acceptable use policies. For anyone else dealing with recruiters or companies spamming you from your github commit email, it's reportable under information usage restrictions and privacy. https://docs.github.com/en/site-policy/acceptable-use-polici...
also, don't they have an email masking option? i remember seeing some generated @github.com email in commit logs
Re: Osgint – OSINT tool to find information about GitHub user
#26ok, but it doesn't actually tell you anything new except the email everything else is literally just the info on the github profile page
Re: Osgint – OSINT tool to find information about GitHub user
#27Re: Osgint – OSINT tool to find information about GitHub user
#28You may not be the creator, but the intent of this repo appears to be at odds with GitHub's acceptable use policies. For anyone else dealing with recruiters or companies spamming you from your github commit email, it's reportable under information usage restrictions and privacy. https://docs.github.com/en/site-policy/acceptable-use-polici...
as a non-user, I'm not bound by their policies :3 also, don't they have an email masking option? i remember seeing some generated @github.com email in commit logs