{"id":22880597,"url":"https://github.com/hippiiee/osgint","last_synced_at":"2025-05-16T00:00:27.044Z","repository":{"id":174677771,"uuid":"527215876","full_name":"hippiiee/osgint","owner":"hippiiee","description":"OSINT tool to find informations about a github user (email2username, username2email, creation date ...) ","archived":false,"fork":false,"pushed_at":"2025-04-06T09:54:05.000Z","size":35,"stargazers_count":448,"open_issues_count":1,"forks_count":34,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-19T10:57:03.041Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hippiiee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-08-21T13:33:26.000Z","updated_at":"2025-04-17T02:09:52.000Z","dependencies_parsed_at":"2024-01-14T10:16:21.018Z","dependency_job_id":"56b06966-2dfa-4738-9e6f-ba66fa119dab","html_url":"https://github.com/hippiiee/osgint","commit_stats":null,"previous_names":["hippiiee/osgint"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hippiiee%2Fosgint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hippiiee%2Fosgint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hippiiee%2Fosgint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hippiiee%2Fosgint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hippiiee","download_url":"https://codeload.github.com/hippiiee/osgint/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254442854,"owners_count":22071877,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-13T17:19:44.037Z","updated_at":"2025-05-16T00:00:26.673Z","avatar_url":"https://github.com/hippiiee.png","language":"Python","funding_links":[],"categories":["Python","[](#table-of-contents) Table of contents"],"sub_categories":["[](#github)Github"],"readme":"# OSGINT\n\u003cp align=\"center\"\u003e\n  Retrieve informations about a github username/email\n  \u003cbr\u003e\n      \u003cimg alt=\"img last release\" src=\"https://img.shields.io/github/v/release/hippiiee/osgint.svg?color=blue\"\u003e\n  \u003ca href=\"https://twitter.com/intent/follow?screen_name=hiippiiie\" title=\"Follow\"\u003e\u003cimg src=\"https://img.shields.io/twitter/follow/hiippiiie?label=hiippiiie\u0026style=social\"\u003e\u003c/a\u003e\n  \u003cbr\u003e\n\u003c/p\u003e\n\n## Features\n  - [x] Find github username from an email\n  - [x] Find email from github username (not working all the time)\n  - [x] Find informations about a profile (account creation date, public gists, id, public pgp, public ssh ...)\n## Requirements\n\n```bash\npip3 install -r requirements.txt\n```\n## Usage\n\n```\n$ python3 osgint.py -h                                  \n\n .d88888b.                    d8b          888    \nd88P\" \"Y88b                   Y8P          888    \n888     888                                888    \n888     888 .d8888b   .d88b.  888 88888b.  888888 \n888     888 88K      d88P\"88b 888 888 \"88b 888    \n888     888 \"Y8888b. 888  888 888 888  888 888    \nY88b. .d88P      X88 Y88b 888 888 888  888 Y88b.  \n \"Y88888P\"   88888P'  \"Y88888 888 888  888  \"Y888 \n                          888  v1.0.0\n                     Y8b d88P                     \n                      \"Y88P\"                      \nBy Hippie | https://twitter.com/hiippiiie\n\nusage: osgint.py [-h] [-u USERNAME] [-e EMAIL] [--json]\n\noptions:\n  -h, --help            show this help message and exit\n  -u USERNAME, --username USERNAME\n                        Github username of the account to search for (default: None)\n  -e EMAIL, --email EMAIL\n                        Email of the account to search for github username (default: None)\n  --json                Return a json output (default: False)\n```\n## Example output\n### username\n```bash\n$ ./osgint.py -u hippiiee\n[+] login : hippiiee\n[+] id : 41185722\n[+] avatar_url : https://avatars.githubusercontent.com/u/41185722?v=4\n[+] name : Hippie\n[+] blog : https://hippie.cat\n[+] bio : Hi !\n[+] public_repos : 10\n[+] public_gists : 0\n[+] followers : 8\n[+] following : 9\n[+] created_at : 2018-07-13T08:28:00Z\n[+] updated_at : 2022-08-21T13:11:36Z\n[+] public_gists : https://gist.github.com/hippiiee\n[+] GPG_keys : https://github.com/hippiiee.gpg\n[+] GPG_key_id : 27cbb171ff857c58\n[+] email : hquere@e3r4p3.42.fr hippolyte.q@gmail.com\n```\n\n```json\n$ ./osgint.py -u hippiiee --json\n{\n    \"GPG_key_id\": \"27cbb171ff857c58\",\n    \"GPG_keys\": \"https://github.com/hippiiee.gpg\",\n    \"avatar_url\": \"https://avatars.githubusercontent.com/u/41185722?v=4\",\n    \"bio\": \"Hi !\",\n    \"blog\": \"https://hippie.cat\",\n    \"created_at\": \"2018-07-13T08:28:00Z\",\n    \"email\": [\n        \"hquere@e3r4p3.42.fr\",\n        \"hippolyte.q@gmail.com\"\n    ],\n    \"followers\": 8,\n    \"following\": 9,\n    \"id\": 41185722,\n    \"login\": \"hippiiee\",\n    \"name\": \"Hippie\",\n    \"public_gists\": \"https://gist.github.com/hippiiee\",\n    \"public_repos\": 10,\n    \"updated_at\": \"2022-08-21T13:11:36Z\"\n}\n```\n\n### Email\n``` bash\n$ ./osgint.py -e chrisadr@gentoo.org\n[+] username : ChrisADR\n```\n```json\n$ ./osgint.py -e chrisadr@gentoo.org --json\n{\n    \"username\": \"ChrisADR\"\n}\n```\n\n## How does it works ?\n\nTo get a user email, osingt is checking :\n - all the public commits of the user, if the email is not hidden in one of the commit it will be added to the list\n - if the user have a GPG key, if he has one, it's getting the email from the content of the GPG after a base64 decode\n - github user API\n\nTo get a user email, osgint is checking :\n - github user API\n - 🚧 spoofing a commit with the email, then checking the name in the commit history (working every time) 🚧 (Work In Progress)\n\n*Project inspired from [Zen](https://github.com/s0md3v/Zen)*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhippiiee%2Fosgint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhippiiee%2Fosgint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhippiiee%2Fosgint/lists"}