-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathregex.json
100 lines (99 loc) · 3.59 KB
/
regex.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"Google API Key": {
"regex": "AIza[0-9A-Za-z-_]{35}",
"links": {
"0": {
"link": "https://maps.googleapis.com/maps/api/staticmap?center=45%2C10&zoom=7&size=400x400&key=APIKEYHERE",
"method": "get",
"error": "The Google Maps Platform server rejected your request"
},
"1":{
"link": "https://maps.googleapis.com/maps/api/streetview?size=400x400&location=40.720032,-73.988354&fov=90&heading=235&pitch=10&key=APIKEYHERE",
"method": "get",
"error": "The Google Maps Platform server rejected your request"
},
"2":{
"link": "https://maps.googleapis.com/maps/api/elevation/json?locations=39.7391536,-104.9847034&key=APIKEYHERE",
"method": "get",
"error": "REQUEST_DENIED"
},
"3":{
"link": "https://maps.googleapis.com/maps/api/timezone/json?location=39.6034810,-119.6822510×tamp=1331161200&key=APIKEYHERE",
"method": "get",
"error": "REQUEST_DENIED"
},
"4":{
"link": "https://roads.googleapis.com/v1/nearestRoads?points=60.170880,24.942795%7C60.170879,24.942796%7C60.170877,24.942796&key=APIKEYHERE",
"method": "get",
"error": "PERMISSION_DENIED"
},
"5":{
"link": "https://maps.googleapis.com/maps/api/directions/json?origin=Disneyland&destination=Universal+Studios+Hollywood4&key=APIKEYHERE",
"method": "get",
"error": "REQUEST_DENIED"
},
"6":{
"link": "https://maps.googleapis.com/maps/api/geocode/json?latlng=40,30&key=APIKEYHERE",
"method": "get",
"error": "The provided API key is invalid.",
"error": "REQUEST_DENIED"
},
"7":{
"link": "https://maps.googleapis.com/maps/api/distancematrix/json?units=imperial&origins=40.6655101,-73.89188969999998&destinations=40.6905615%2C-73.9976592%7C40.6905615%2C-73.9976592%7C40.6905615%2C-73.9976592%7C40.6905615%2C-73.9976592%7C40.6905615%2C-73.9976592%7C40.6905615%2C-73.9976592%7C40.659569%2C-73.933783%7C40.729029%2C-73.851524%7C40.6860072%2C-73.6334271%7C40.598566%2C-73.7527626%7C40.659569%2C-73.933783%7C40.729029%2C-73.851524%7C40.6860072%2C-73.6334271%7C40.598566%2C-73.7527626&key=APIKEYHERE",
"method": "get",
"error": "REQUEST_DENIED"
},
"8":{
"link": "https://maps.googleapis.com/maps/api/place/findplacefromtext/json?input=Museum%20of%20Contemporary%20Art%20Australia&inputtype=textquery&fields=photos,formatted_address,name,rating,opening_hours,geometry&key=APIKEYHERE",
"method": "get",
"error": "REQUEST_DENIED"
},
"9":{
"link": "https://maps.googleapis.com/maps/api/place/autocomplete/json?input=Bingh&types=%28cities%29&key=APIKEYHERE",
"method": "get",
"error": "REQUEST_DENIED"
}
}
},
"Slack Webhook": {
"regex": "https://hooks.slack.com/services/T[a-zA-Z0-9_]{8}/B[a-zA-Z0-9_]{8}/[a-zA-Z0-9_]{24}",
"links": {
"0": {
"link": "APIKEYHERE",
"method": "get",
"error": "no_team"
}
}
},
"Bitly secret key": {
"regex": "R_[0-9a-f]{32}",
"links": {
"0": {
"link": "https://api-ssl.bitly.com/v3/shorten?access_token=APIKEYHERE&longUrl=https://www.google.com",
"method": "get",
"error": "INVALID_ARG_ACCESS_TOKEN"
}
}
},
"Slack API token": {
"regex": "(xox[p|b|o|a]-[0-9]{12}-[0-9]{12}-[0-9]{12}-[a-z0-9]{32})",
"links": {
"0": {
"link": "https://slack.com/api/auth.test?token=xoxp-APIKEYHERE&pretty=1",
"method": "get",
"error": "invalid_auth"
}
}
},
"Zapier Webhook": {
"regex": "https://(?:www.)?hooks\\.zapier\\.com/hooks/catch/[A-Za-z0-9]+/[A-Za-z0-9]+/",
"links": {
"0": {
"link": "APIKEYHERE",
"method": "post",
"post_data": "{\"name\":\"dirox\"}",
"error": "invalid_auth"
}
}
}
}