Osgint – OSINT tool to find information about GitHub user
github.com
github.com
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
[+] login : zellyn
[+] id : 33625
[+] avatar_url : https://avatars.githubusercontent.com/u/33625?v=4
[+] name : Zellyn Hunter
[+] company : Square
[+] blog : http://www.zellyn.com/
[+] location : Atlanta
[+] bio : Programmer at Square. Mostly (currently) Go.
[+] public_repos : 52
[+] public_gists : 47
[+] followers : 101
[+] following : 20
[+] created_at : 2008-11-10T13:26:38Z
[+] updated_at : 2025-03-03T00:51:46Z
[+] public_gists : https://gist.github.com/zellyn
[+] SSH_keys : https:/github.com/zellyn.keys
[+] email : hippytrail@gmail.com zellyn@squareup.com tomcw@users.noreply.github.com zellyn@gmail.com
Pretty much spot on, except for the emails. The ones with username `zellyn` are correct; the others are people who've contributed changes to repos I created (I think).I would, in general, prefer that incorrect information about me was shared with spammers, if any information is shared. Ditto for most third parties that I don't have a direct relationship with or ongoing conversation. And even then, usually the information they need about me is pretty limited.
everything else is literally just the info on the github profile page
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)