Skip to content

Commit ad2258b

Browse files
committedAug 10, 2020
first
1 parent 3acdcf7 commit ad2258b

File tree

7 files changed

+883
-0
lines changed

7 files changed

+883
-0
lines changed
 

‎README.md

+78
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,80 @@
11
# github-endpoints
2+
23
Find endpoints on GitHub.
4+
5+
6+
# Warning
7+
8+
This repository is not public yet.
9+
If you get access it means that you're part of the GitHub sponsors program.
10+
For now, you're not allowed to release it, publish it or give access to anyone else.
11+
12+
Please remember that this program is still under development, bugs and changes may occur.
13+
14+
15+
# Install
16+
17+
```
18+
go get -u github.com/gwen001/github-endpoints
19+
```
20+
21+
or
22+
23+
```
24+
git clone https://github.com/gwen001/github-endpoints
25+
cd github-endpoints
26+
go install
27+
```
28+
29+
30+
# Usage
31+
32+
```
33+
github-endpoints -h
34+
35+
Usage of github-endpoints:
36+
-all
37+
displays urls of all other domains, default=false
38+
-d string
39+
domain you are looking for (required)
40+
-e extended mode, also look for <dummy>example.com
41+
-k exit the program when all tokens have been disabled
42+
-o string
43+
output file, default: <domain>.txt
44+
-r display relative urls, default=false
45+
-raw
46+
raw output
47+
-t string
48+
github token (required)
49+
```
50+
51+
If you want to use multiple tokens, you should create a `.tokens` file in the executable directory with 1 token per line
52+
```
53+
token1
54+
token2
55+
...
56+
```
57+
or use an environment variable with tokens separated by comma:
58+
```
59+
export GITHUB_TOKEN=token1,token2...
60+
```
61+
62+
<img src="https://github.com/gwen001/github-endpoints/raw/master/preview.png">
63+
64+
65+
# Todo
66+
67+
- change the order of the extra searches ?
68+
- ?
69+
70+
71+
# Changelog
72+
73+
**10/08/2020**
74+
- creation
75+
76+
77+
---
78+
79+
Feel free to ping me on Twitter if you have any problem to use the script.
80+
https://twitter.com/gwendallecoguic

‎go.mod

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
module github.com/gwen001/github-endpoints
2+
3+
go 1.13
4+
5+
require (
6+
github.com/bobesa/go-domain-util v0.0.0-20190911083921-4033b5f7dd89 // indirect
7+
github.com/jpillora/go-tld v1.0.0
8+
github.com/json-iterator/go v1.1.10
9+
github.com/logrusorgru/aurora v2.0.3+incompatible
10+
golang.org/x/net v0.0.0-20200707034311-ab3426394381 // indirect
11+
)

‎go.sum

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
github.com/bobesa/go-domain-util v0.0.0-20190911083921-4033b5f7dd89 h1:2pkAuIM8OF1fy4ToFpMnI4oE+VeUNRbGrpSLKshK0oQ=
2+
github.com/bobesa/go-domain-util v0.0.0-20190911083921-4033b5f7dd89/go.mod h1:/09nEjna1UMoasyyQDhOrIn8hi2v2kiJglPWed1idck=
3+
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
4+
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
5+
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
6+
github.com/jpillora/go-tld v1.0.0 h1:W0Wz3fYT9WCDNJXcXc58uV7sriLnVeELeOU5MP5X42M=
7+
github.com/jpillora/go-tld v1.0.0/go.mod h1:kitBxOF//DR5FxYeIGw+etdiiTIq5S7bx0dwy1GUNAk=
8+
github.com/json-iterator/go v1.1.10 h1:Kz6Cvnvv2wGdaG/V8yMvfkmNiXq9Ya2KUv4rouJJr68=
9+
github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
10+
github.com/logrusorgru/aurora v2.0.3+incompatible h1:tOpm7WcpBTn4fjmVfgpQq0EfczGlG91VSDkswnjF5A8=
11+
github.com/logrusorgru/aurora v2.0.3+incompatible/go.mod h1:7rIyQOR62GCctdiQpZ/zOJlFyk6y+94wXzv6RNZgaR4=
12+
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 h1:ZqeYNhU3OHLH3mGKHDcjJRFFRrJa6eAM5H+CtDdOsPc=
13+
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
14+
github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 h1:Esafd1046DLDQ0W1YjYsBW+p8U2u7vzgW2SQVmlNazg=
15+
github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
16+
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
17+
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
18+
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
19+
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
20+
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
21+
golang.org/x/net v0.0.0-20180811021610-c39426892332 h1:efGso+ep0DjyCBJPjvoz0HI6UldX4Md2F1rZFe1ir0E=
22+
golang.org/x/net v0.0.0-20180811021610-c39426892332/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
23+
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
24+
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e h1:3G+cUijn7XD+S4eJFddp53Pv7+slrESplyjG25HgL+k=
25+
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
26+
golang.org/x/net v0.0.0-20200707034311-ab3426394381 h1:VXak5I6aEWmAXeQjA+QSZzlgNrpq9mjcfDemuexIKsU=
27+
golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
28+
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
29+
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
30+
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
31+
golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=
32+
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=

‎languages.txt

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
JavaScript
2+
Python
3+
Java
4+
Go
5+
Ruby
6+
PHP
7+
Shell
8+
CSV
9+
Markdown
10+
XML
11+
JSON
12+
Text
13+
CSS
14+
HTML
15+
Perl
16+
ActionScript
17+
Lua
18+
C
19+
C%2B%2B
20+
C%23

0 commit comments

Comments
 (0)
Please sign in to comment.