Skip to main content

A cli script to find exposed email addresses of one GitHub user in his or her public repositories.

Project description

showExposedGitHubEmails

Is a crawler which lists all email addresses used in commits of a specific GitHub user using the GitHub API.

It iterates through all public respositories owned by the user and all commits in each of these repositories.

Installation

Install the package with pip

pip install exposed-github-user-emails-scanner

Usage

Type showExposedGitHubEmails --help to view the help.

usage: showExposedGitHubEmails [OPTION]... -u USERNAME

A crawler which lists all email addresses used in commits of a specific GitHub user using the GitHub API.

optional arguments:
  -h, --help            show this help message and exit
  -u USER, --user USER  username of the user whose public repositories should be scanned
  -r REPOSITORY, --repository REPOSITORY
                        name of specific repository which should be scanned (default is all repositories)
  -t TOKEN, --token TOKEN
                        provide a GitHub token to increase the API quota which can be used by this script
  -v, --verbose         verbose mode
  -d DELAY, --delay DELAY
                        the delay between to requests in seconds (default is 1 second)
  --api-url API_URL     specify the URL to the GitHub Api (default is "https://api.github.com")
  --no-forks            ignore forked repositories

Example

$ showExposedGitHubEmails -u AFictionalUsername
[+] Scan for public repositories of user AFictionalUsername
[+] Found 4 public repositories
[+] Scan repository my_first_project
[+] Scan repository project_2
[+] Exposed emails and names:
         41277220+aficionalusername@users.noreply.github.com - John Doe
         john.doe@hotmail.com                                - JD; John Doe
         john.doe@company.com                                - John Doe (Software Eng.)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

File details

Details for the file exposed_github_user_emails_scanner-1.0.7.tar.gz.

File metadata

File hashes

Hashes for exposed_github_user_emails_scanner-1.0.7.tar.gz
Algorithm Hash digest
SHA256 da66aebf27b303a2ead9ca6054470f591943a329179d26f1c56745204d7b33a8
MD5 a24bf708ebf68184e0dd9a0e909a7087
BLAKE2b-256 b57a0c3c1ae8a27bea1af72553f91c35b97ddbafef120bd25eb90b4eb5d53f0e

See more details on using hashes here.

File details

Details for the file exposed_github_user_emails_scanner-1.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for exposed_github_user_emails_scanner-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 877d27f8eb6e15826fda2ba19d54487206ebca6b2f9a0360330b7d9c3b4001a8
MD5 03e280aec7313f724d6fe52b882f6c8e
BLAKE2b-256 644c84ac0b7d7951a154f06c6dfc9b3118599ab35b31337cbd318871af324c91

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page