Gitrecon : OSINT Tool To Get Information From A Github Profile

Gitrecon is a OSINT tool to get information from a Github or Gitlab profile and find user’s email addresses leaked on commits.

How does this work?

GitHub uses the email address associated with a GitHub account to link commits and other activity to a GitHub profile. When a user makes commits to public repos their email address is usually published in the commit and becomes publicly accessible, if you know where to look.

GitHub provide some instructions on how to prevent this from happening, but it seems that most GitHub users either don’t know or don’t care that their email address may be exposed.

Finding a GitHub user’s email address is often as simple as looking at their recent events via the GitHub API.

Installation

git clone https://github.com/GONZOsint/gitrecon.git
cd gitrecon/
python3 -m pip install -r requirements.txt

  • It is possible to use a Github access token by editing line 3 of the modules/github_recon.py file. This will prevent a possible API ban.
  • It is possible to use a Gitlab access token by editing line 3 of the modules/gitlab_recon.py file. This will prevent a possible API ban.

token = ‘<Access token here>‘

Usage

Usage: gitrecon.py [-h] -s {github,gitlab} [-a] [-o] username

Positional Arguments:
username

Optional Arguments:
-h, –help show this help message and exit
-s {github,gitlab} sites selection
-a, –avatar download avatar pic
-o, –output save output

Results are saved in results// path.

Features

Gitlab and Github leaked emails on commits

  • Gitlab and Github SSH keys
Github SSH keysGitlab SSH keys
ID
Tittle
Created at
Expires at
KeyKey
  • Gitlab and Github profile info
Github profile infoGitlab profile info
UsernameUsername
NameName
User IDUser ID
State
Status
Avatar urlAvatar url
EmailEmail
LocationLocation
BioBio
CompanyOrganization
Organizations
Job title
Work information
BlogWeb
Gravatar ID
TwitterTwitter
Skype
Linkedin
FollowersFollowers
FollowingFollowing
Created atCreated at
Updated at
R K

Recent Posts

Vermilion : Mastering Linux Post-Exploitation For Red Team Success

Vermilion is a simple and lightweight CLI tool designed for rapid collection, and optional exfiltration…

1 day ago

AD-CS-Forest-Exploiter : Mastering Security Through PowerShell For AD CS Misconfiguration

ADCFFS is a PowerShell script that can be used to exploit the AD CS container…

1 day ago

Usage Of Tartufo – A Comprehensive Guide To Securing Your Git Repositories

Tartufo will, by default, scan the entire history of a git repository for any text…

1 day ago

Loco : A Rails-Inspired Framework For Rust Developers

Loco is strongly inspired by Rails. If you know Rails and Rust, you'll feel at…

2 days ago

Monolith : The Ultimate Tool For Storing Entire Web Pages As Single HTML Files

A data hoarder’s dream come true: bundle any web page into a single HTML file.…

2 days ago