gitcreepy - 通过Github获取用户的BIOS和电子邮件地址

gitcreepy - 通过Github获取用户的BIOS和电子邮件地址

Go 第三方API

访问GitHub主页

共29Star

详细介绍

gitcreepy

Get user bios and historical email addresses through Github. Written in Go. Git creepy!

Background

It's stunning how much personal information you can get from Github users through its developer APIs. In addition to profile information, a list of every email address they've used in historical public commits can be extracted. Many users sign up for Github with their personal email addresses and only obfuscate them after they've made public commits, which imprints them in the public record!

Setup

Create a Github personal access token

Add a .env file in the root of your working directory:

USERNAME=YOURGITHUBUSERNAME
TOKEN=YOURPERSONALACCESSTOKEN

Installation

go get and navigate to this repo

go build

Usage

Examples below use Github user names of the most active Github users

Use the -u flag. For a single user, simply include their Github username:

./gitcreepy -u GrahamCampbell

For multiple users put them in quotes separated by a space:

./gitcreepy -u 'GrahamCampbell fabpot weierophinney rkh josh SamyPesse rstacruz tmm1 michalbe andrew'

output:

Username: GrahamCampbell	 Name: Graham Campbell	 Email: graham@alt-three.com	 Location: The United Kingdom	 Other Emails: 

Username: fabpot	 Name: Fabien Potencier	 Email: fabien@symfony.com	 Location: San Francisco	 Other Emails: fabien.potencier@gmail.com

Username: weierophinney	 Name: Matthew Weier O'Phinney	 Email: matthew@weierophinney.net	 Location: Sioux Falls, SD, USA	 Other Emails: matthew@zend.com

Username: rkh	 Name: Konstantin Haase	 Email: github@rkh.im	 Location: Zurich	 Other Emails: konstantin.mailinglists@googlemail.com

Username: josh	 Name: Joshua Peek	 Email: josh@joshpeek.com	 Location: San Francisco, CA	 Other Emails: 

Username: SamyPesse	 Name: Samy Pessé	 Email: samypesse@gmail.com	 Location: Lyon, France	 Other Emails: 

Username: rstacruz	 Name: Rico Sta. Cruz	 Email: unlisted	 Location: Manila, Philippines	 Other Emails: rstacruz@users.noreply.github.com

Username: tmm1	 Name: Aman Gupta	 Email: aman@tmm1.net	 Location: San Francisco, CA	 Other Emails: 

Username: michalbe	 Name: Michał Budzyński	 Email: michal@virtualdesign.pl	 Location: Warsaw, Poland	 Other Emails: 

Username: andrew	 Name: Andrew Nesbitt	 Email: andrew@libraries.io	 Location: Somerset, UK	 Other Emails: andrewnez@gmail.com

Happy creeping!