Cybersecurity
0 score

[OSINT] Github URL Hacks

August 8, 2025 at 04:18 PM
Edited August 8, 2025 at 04:19 PM
## Posted on July 11, 2021  •  2 minutes  • 415 words GitHub’s UI has improved a lot over the years but sometimes you just need quick access without clicking. Here are a few GitHub URL tips to get you data you want faster. One cool thing is all of these tips give raw text output so they work great with curl and other CLI tools. If you want to get a users public ssh keys you can add .keys to the end of their user profile URL. Here’s mine. https://github.com/rothgar.keys If you want to get a user’s profile picture you can add .png to the end of their user profile URL. https://github.com/rothgar.png If you want to get gpg public keys you can add .gpg to the end of their user profile URL. I don’t actually have any gpg keys so you can see what it looks like if a user doesn’t have them with my profile. https://github.com/rothgar.gpg There are lots of different feeds you can subscribe to. https://github.com/$USER/$REPO/commits.atom https://github.com/$USER/$REPO/releases.atom https://github.com/$USER/$REPO/tags.atom Public RSS feed will show public user activity. Repo stars, releases, etc. https://github.com/rothgar.atom There’s also a private user feed which is great if you don’t log into GitHub often. It requires you to click in the UI, but I still find it incredibly useful. Log in to your account and on your dashboard scroll all the way to the bottom and click “Subscribe to your news feed”. This will generate a private token automatically and send you to https://github.com/$USER.private.atom?token=... You can plug this directly into an RSS reader and it’ll include everything that normally shows up on your private dashboard feed. Repos and users you follow, project releases, and more. This is a public RSS feed for GitHub security advisories. https://github.com/security-advisories.atom https://github.com/timeline You can diff branches in a repo by adding /compare/[fork-user:]$BRANCH...$BRANCH to the end of a repo url. If you want to compare a dev branch to the main branch for my bashScheduler you can check out. https://github.com/rothgar/bashScheduler/compare/main...dev If you had a fork of the repo you could add your username before main like this. https://github.com/rothgar/bashScheduler/compare/$USER:main...dev The cool thing is you can get a raw patch or diff output using the same url and adding .patch and .diff to the end. https://github.com/rothgar/bashScheduler/compare/main...dev.patch [Content truncated...] --- **Source:** OSINT Dojo **Read full article:** https://www.justingarrison.com/blog/2021-07-11-github-url-hacks/
0
4 views
0 comments
Comments (0)

Sign in to join the discussion

Sign In

No comments yet

Be the first to share your thoughts!

O
OSINT

OPEN SOURCE INTELLIGENCE

Category
Cybersecurity
Post Statistics
Views4
Upvotes0
Downvotes0
Comments0
Net Score0
About the Author
O
Joined August 7, 2025 at 05:06 PM