
Find endpoints on GitHub.
Esta ferramenta Go realiza pesquisas no GitHub e analisa os resultados para encontrar endpoints de um domínio específico.
go install github.com/gwen001/github-endpoints@latest
ou
git clone https://github.com/gwen001/github-endpoints
cd github-endpoints
go install
$ github-endpoints -h
Usage 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 <dummy>example.com
-k exit the program when all tokens have been disabled
-o string
output file, default: <domain>.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
Se quiser utilizar múltiplos tokens, é melhor criar um arquivo .tokens no diretório do executável com 1 token por linha
token1
token2
...
ou usar uma variável de ambiente com tokens separados por vírgula:
export GITHUB_TOKEN=token1,token2...
Os tokens são desativados quando o GitHub emite um alerta de limite de requisição, porém são reativados 1 minuto depois.
Você pode desativar esse recurso usando a opção -k.
20/09/2022
25/09/2020
23/09/2020
10/08/2020
Sinta-se à vontade para abrir uma issue se tiver algum problema com o script.