Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gwen001/github-endpoints
Find endpoints on GitHub.
https://github.com/gwen001/github-endpoints
bugbounty endpoints github go golang pentesting security-tools urls
Last synced: 3 months ago
JSON representation
Find endpoints on GitHub.
- Host: GitHub
- URL: https://github.com/gwen001/github-endpoints
- Owner: gwen001
- License: mit
- Created: 2020-08-07T07:52:15.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-28T15:46:56.000Z (over 1 year ago)
- Last Synced: 2024-06-26T00:35:32.808Z (5 months ago)
- Topics: bugbounty, endpoints, github, go, golang, pentesting, security-tools, urls
- Language: Go
- Homepage:
- Size: 19.7 MB
- Stars: 181
- Watchers: 8
- Forks: 34
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
- WebHackersWeapons - github-endpoints - endpoints?label=%20)||![linux](/images/linux.png)![macos](/images/apple.png)![windows](/images/windows.png)[![Go](/images/go.png)](/categorize/langs/Go.md)| (Weapons / Tools)
README
github-endpoints
Find endpoints on GitHub.
---
## Description
This Go tool performs searches on GitHub and parses the results to find endpoints of a given domain.
## Install
```
go install github.com/gwen001/github-endpoints@latest
```or
```
git clone https://github.com/gwen001/github-endpoints
cd github-endpoints
go install
```## Usage
```
$ github-endpoints -hUsage of github-endpoints:
-all
displays urls of all other domains, default=false
-d string
domain you are looking for (required)
-e extended mode, also look for example.com
-k exit the program when all tokens have been disabled
-o string
output file, default: .txt
-r display relative urls, default=false
-raw
raw output
-t string
github token (required), can be:
• a single token
• a list of tokens separated by comma
• a file (.tokens) containing 1 token per line
if the options is not provided, the environment variable GITHUB_TOKEN is readed, it can be:
• a single token
• a list of tokens separated by comma
```If you want to use multiple tokens, you better create a `.tokens` file in the executable directory with 1 token per line
```
token1
token2
...
```
or use an environment variable with tokens separated by comma:
```
export GITHUB_TOKEN=token1,token2...
```Tokens are disabled when GitHub raises a rate limit alert, however they are re-enable 1mn later.
You can disable that feature by using the option `-k`.## Todo
- change the order of the extra searches ?
- ?## Changelog
**20/09/2022**
- fix regexp for subdomains**25/09/2020**
- quick mode added
- tokens can be read from any file**23/09/2020**
- fixed an issue in the api call (params name)
- added binary**10/08/2020**
- creation---
Feel free to [open an issue](/../../issues/) if you have any problem with the script.