-
Notifications
You must be signed in to change notification settings - Fork 0
/
create.html
119 lines (118 loc) · 3.63 KB
/
create.html
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<!DOCTYPE html>
<html>
<head>
<title>Gateway List Creator</title>
<meta
name="description"
content="Create and download CSV files which contain domains, hostnames or IPs to use in Cloudflare Zero Trust Lists, especially useful for Gateway."
/>
<meta
name="keywords"
content="zero trust, gateway, lists, domains, hostnames, cloudflare"
/>
<link rel=icon href=favicon.png>
<link rel="stylesheet" href="css/style.css" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
<h1>Create Zero Trust List on Cloudflare Gateway</h1>
<p>
Fetch the first 4999 hostnames from a list from
<a
href="https://filterlists.com/"
target="_blank"
rel="nofollow external noopener noreferrer"
>FilterLists</a
>
and create a new Zero Trust List on your
<a
href="https://developers.cloudflare.com/cloudflare-one/policies/filtering/"
target="_blank"
rel="nofollow external noopener noreferrer"
>Cloudflare Gateway</a
>
Account.
</p>
<form id="url-form">
<label for="url-input">URL:</label>
<input type="url" id="url-input" name="url" required />
<br /><br />
<label for="description-input">List Description:</label>
<input
type="text"
id="description-input"
name="description"
maxlength="70"
value="Insert List Description here"
required
/>
<br /><br />
<input
type="radio"
id="hosts"
name="type"
value="hosts"
checked
required
/>
<label
for="hosts"
title="Only fetches lists starting with '||' or '0.0.0.0'."
>Fetch hosts</label
>
<br />
<small>Fetches only lists starting with '||' or '0.0.0.0'.</small>
<br />
<br />
<input type="radio" id="networks" name="type" value="networks" required />
<label for="networks" title="Only fetches lists that contain IPs."
>Fetch IPs</label
>
<br />
<small>Fetches only lists that contain IP addresses.</small>
<br /><br />
<hr />
<br />
<label for="email-input">User Email:</label>
<input type="email" id="email-input" name="email" required />
<small>Use your Cloudflare User Email.</small>
<br /><br />
<label for="identifier-input">Account Identifier:</label>
<input type="text" id="identifier-input" name="identifier" required />
<small
>Use your
<a
href="https://developers.cloudflare.com/fundamentals/get-started/basic-tasks/find-account-and-zone-ids/"
target="_blank"
rel="nofollow external noopener noreferrer"
>Account ID</a
>.</small
>
<br /><br />
<label for="token-input">Token:</label>
<input type="text" id="token-input" name="token" required />
<small
>Use an
<a
href="https://developers.cloudflare.com/fundamentals/api/get-started/create-token/"
target="_blank"
rel="nofollow external noopener noreferrer"
>API Token</a
>.
</small>
<br /><br />
<button type="submit">Create List</button>
<small
>Your Cloudflare details are processed on
<a
href="https://gist.github.com/DavidJKTofan/4b4e1a2b83d17aa8991c45e2289a8346"
target="_blank"
rel="nofollow external noopener noreferrer"
>server-side</a
>.</small
>
</form>
<div id="result"></div>
<script src="js/create-form.js"></script>
</body>
</html>