-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
456 lines (452 loc) · 23.7 KB
/
index.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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
<!DOCTYPE html>
<html>
<head>
4 <!-- #region Head -->
<meta charset="UTF-8" />
<meta name="theme-color" content="#ff7900" />
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" />
<meta charset="UTF-8" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Freedom Guard (Mohsen Version) 1.2.9 </title>
<link href="boxicons.min.css" rel="stylesheet" />
<link href="./assets/css/bootstrap.min.css" rel="stylesheet" />
<link href="./assets/css/vazir.css" rel="stylesheet" />
<link href="./assets/css/style.css" rel="stylesheet" />
<link rel="stylesheet" href="style.css" />
<link rel="icon" href="ico.png" type="image/png">
<!-- #endregion Head -->
</head>
<body>
<!-- #region Loading -->
<div id="loading">
<div class="content">
<div class="text" id="text-loading-1">LOADING...</div>
<div class="text" id="text-loading-2">LOADING...</div>
<img src="./assets/iran.jpg" style="align-items: flex-end;" height="32%" id="" alt="">
<p>به یاد محسن شکاری</p>
<div id="text-hashtag" dir="rtl" style="justify-content: flex-end;margin-right: 2vw;color:red;">
#زن_زندگی_آزادی</div>
</div>
</div>
<script>
function Loading(time = 2000, textloading = "LOADING ...") {
document.getElementById("loading").style.display = "flex";
document.getElementById("text-loading-1").innerHTML = textloading;
document.getElementById("text-loading-2").innerHTML = textloading;
if (time != "") {
setTimeout(() => {
document.getElementById("loading").style.display = "none";
}, time);
}
else {
setTimeout(() => {
document.getElementById("loading").style.display = "none";
}, 2000);
}
}
Loading(5500);
</script>
<!-- #endregion Loading -->
<!-- #region Freedom Warp => setting & main -->
<h2 id="Status" title="false"></h2>
<button id="ChangeStatus" class="bx-tada-hover"><i class="bx bx-power-off"></i></button>
<button class="menu-show" id="menu-show"><i class="bx bx-menu-alt-left"></i></button>
<button class="setting-show" id="setting-show"><i class=" bx bxs-cog"></i></button>
<div class="options">
<p>Gool</p>
<label class="switch">
<input type="checkbox" id="Gool" />
<span class="slider"></span>
</label>
<p>Scan</p>
<label class="switch">
<input type="checkbox" id="Scan" />
<span class="slider"></span>
</label>
</div>
<p id="ip-ping-warp">IP : x.x.x.x | Ping : ms</p>
<div class="box-select-country" id="box-select-country">
</div>
<div class="options-select-cfon">
<p>Psiphon Country</p>
<i class="bx bxs-chevron-down bx-tada-hover"></i>
<div class="box-select-country-mini" id="box-select-country-mini">
<div id="flagOfCfon">
<img src="svgs/ir.svg" id="imgOfCfonCustom" width="50px">
<div id="textOfCfon">disable</div>
<i class="bx bx-chevron-right"></i>
</div>
</div>
</div>
<div id="setting">
<nav id="nav-top" style="position: sticky; top: 0%;
left: 0%;background-color: rgba(255, 255, 255, 0.3);width: 100%;min-height: 7.5vh;z-index: 10;">
<button id="close-setting">
<i class='bx bx-arrow-back'></i>
</button>
<button id="about"><i class='bx bxs-info-circle'></i></button>
</nav>
<b style="margin-top: 2vh;">IP Version</b>
<div id="ip-version">
<select name="" id="selector-ip-version">
<option value="IPV4">IP Version 4</option>
<option value="IPV6">IP Version 6</option>
</select>
</div>
<b style="margin-top: 2vh;">VPN Type Warp</b>
<div id="vpn-type">
<select value="system" id="vpn-type-selected">
<option value="system">System Proxy</option>
<option value="tun">VPN Mode (Tun)</option>
</select>
</div>
<b>Endpoint</b>
<div id="end-point" class="form-control-c">
<input placeholder="IP : 192.x.x.x" class="input input-alt" type="text" id="end-point-address">
<button class="btn btn-primary" id="find-best-endpoint">Find Best</button>
<span class="input-border input-border-alt"></span>
</div>
<b>Bind Address</b>
<div id="bind-address" class="form-control-c">
<input type="text" class="input input-alt" placeholder="127.0.0.1:8086" id="bind-address-text">
<span class="input-border input-border-alt"></span>
</div>
<b>Warp Key</b>
<div id="warp-key" class="form-control-c">
<input type="text" class="input input-alt" placeholder="key : xxxxxxxxxxxxx" id="warp-key-text">
<span class="input-border input-border-alt"></span>
</div>
<b>DNS</b>
<div id="dns-warp" class="form-control-c">
<input type="text" class="input input-alt" placeholder="dns : 8.8.8.8" id="dns-warp-text">
<span class="input-border input-border-alt"></span>
</div>
<b>Scanner rtt limit</b>
<div id="scan-rtt" class="form-control-c">
<input type="text" class="input input-alt" placeholder="default 1s" id="scan-rtt-text">
<span class="input-border input-border-alt"></span>
</div>
<b>Verbose</b>
<div id="verbose">
<label class="switch">
<input type="checkbox" id="verbose-status" />
<span class="slider"></span>
</label>
</div>
<b>Cache Directory</b>
<div id="cache" class="form-control-c">
<input type="text" class="input input-alt" placeholder="Directory : ./../" id="cache-dir">
<span class="input-border input-border-alt"></span>
</div>
<b>Wireguard Config Directory</b>
<div id="wgconfig" class="form-control-c">
<input type="text" class="input input-alt" placeholder="Path file" id="wgconfig-dir">
<span class="input-border input-border-alt"></span>
</div>
<b>Config Directory</b>
<div id="config" class="form-control-c">
<input type="text" class="input input-alt" placeholder="Path file Config" id="config-dir">
<span class="input-border input-border-alt"></span>
</div>
<b>Reserved</b>
<div id="reserved">
<label class="switch">
<input type="checkbox" id="reserved-status" />
<span class="slider"></span>
</label>
</div>
</div>
<div id="menu">
<div id="menu-dns" class="bx-tada-hover">Set DNS</div>
<div id="menu-freedom-vibe" class="bx-tada-hover bx-spin-click">Freedom Vibe</div>
<div id="menu-freedom-get" class="bx-tada-hover bx-spin-click">Freedom Get</div>
<div id="menu-exit" class="bx-tada-hover bx-spin-click">Exit Menu</div>
</div>
<!-- #endregion Loading -->
<!-- #region Freedom Vibe => main & setting-->
<div id="freedom-vibe">
<button class="setting-show-vibe" id="setting-show-vibe"><i class=" bx bxs-cog"></i></button>
<div id="logo-vibe">
<img width="105px" height="105px" src="freedom-vibe.png" alt="">
</div>
<div id="changeStatus-vibe">
<i class='bx bx-power-off'></i>
</div>
<p id="status-vibe-conn">Disconnected</p>
<p id="ip-ping-vibe">IP : x.x.x.x | Ping : ms</p>
<div id="vibe-profile">
<p id="status-vibe" style="width: 50vw;">Auto</p>
<i class="bx bx-chevron-right" style="margin-left: auto;font-size: 22px;padding: 0;"></i>
</div>
<div id="vibe-profile-manage">
<button id="close-vibe-profile" style="margin-top: 5px;font-size: 22px;border: none;background-color: transparent;color:rgb(63, 65, 173);margin:0;width:35px;height:35px;align-self: flex-start;"><i class='bx bx-arrow-back' style="color:black;"></i></button>
<p id="status-vibe-sel" class="config-box-vibe-sel" style="width: 95vw;background:rgba(35, 63, 105, 0.712)">Auto</p>
<div id="vibe-profile-list"></div>
<button id="add-config-vibe">Add Profile</button>
</div>
<div id="profile-add" style="display: none;">
<button id="close-vibe-profile-add" style="margin:0;width:25px;height:25px;align-self: flex-start;">X</button>
<input type="text" id="add-config-vibe-name" placeholder="Name Config" class="input input-alt" style="width: 95vw;">
<input type="text" id="add-config-vibe-link" placeholder="Link url" class="input input-alt" style="width: 95vw;">
<button id="add-config-vibe-submit" class="add-config-vibe">Add</button>
</div>
<button id="close-vibe"><i class='bx bx-arrow-back'></i></button>
<div id="setting-vibe">
<nav id="nav-top" style="position: sticky; top: 0%;
left: 0%;background-color: rgba(255, 255, 255, 0.3);width: 100%;min-height: 7.5vh;z-index: 10;">
<button id="close-setting-vibe" style="position: sticky;">
<i class='bx bx-arrow-back'></i>
</button>
</nav>
<b>Config URL vless,vmess,url file,...</b>
<div id="config-vibe" class="form-control-c">
<input placeholder="config URL: https://|vless://" class="input input-alt" type="text"
id="config-vibe-text">
<span class="input-border input-border-alt"></span>
</div>
<b>VPN Type Vibe</b>
<div id="vpn-type">
<select value="system" id="vpn-type-selected-vibe">
<option value="system">System Proxy</option>
<option value="tun">VPN Mode (Tun)</option>
</select>
</div>
<b>Fragment</b>
<div id="fragment-vibe">
<label class="switch">
<input type="checkbox" id="fragment-status-vibe" />
<span class="slider"></span>
</label>
</div>
<b>Fragment Size</b>
<div id="fragment-vibe-size" class="form-control-c">
<input class="input input-alt" disabled placeholder="Size default: 2-4" type="text"
id="fragment-vibe-size-text">
<span class="input-border input-border-alt"></span>
</div>
<b>Dns Direct</b>
<div id="dns-direct" class="form-control-c">
<input class="input input-alt" placeholder="Dns Direct : 1.x.x.1" type="text" id="dns-direct-address">
<span class="input-border input-border-alt"></span>
</div>
<b>Dns Remote</b>
<div id="dns-remote" class="form-control-c">
<input class="input input-alt" placeholder="Dns Remote : 1.x.x.1" type="text" id="dns-remote-address">
<span class="input-border input-border-alt"></span>
</div>
</div>
</div>
<!-- #endregion Freedom Vibe -->
<!-- #region Freedom Get => main & all-->
<div id="freedom-get" style="display: none !important;">
<nav class="navbar navbar-inverse">
<div class="container">
<div class="col-lg-6 col-md-8 col-sm-12 col-xs-12 col-centered">
<a>
<img src="./ico.png" alt="logo" />
<h1>اینترنت آزاد برای همه!</h1>
</a>
</div>
</div>
</nav>
<div class="clearfix"></div>
<div class="container">
<div class="col-lg-6 col-md-8 col-sm-12 col-xs-12 col-centered">
<ul class="nav nav-tabs justify-content-center">
<li class="active"><a href="">کانفیگ رایگان</a></li>
<li class="pull-right"><a href="./index.html">خروج</a></li>
</ul>
<div class="clearfix"></div>
<div class="alert alert-info" id="defAlert" dir="rtl">
<p>توسط اینابزار میتونین به کانفیگهای رایگان گردآوریشده از طریق <a
href="https://github.com/yebekhe/TVC" target="_blank">TVC</a> دسترسی داشته باشین.
اینکانفیگها بهصورت خودکار و منظم، بدون دخلوتصرف از یهسری <a
href="https://raw.githubusercontent.com/yebekhe/TVC/main/channelsData/channelsAssets.json"
target="_blank">کانال تلگرامی</a> جمعآوری میشن و برای رعایت مسائل امنیتی توصیه میشه
تنها
برای مصارف عادی ازشون استفاده کنین.</p>
</div>
<div class="form-group">
<select class="form-control" id="type">
<option value="mix">همهنوع کانفیگ</option>
<option value="reality">کانفیگ REALITY</option>
<option value="vless">کانفیگ VLESS</option>
<option value="vmess">کانفیگ VMESS</option>
<option value="ss">کانفیگ SHADOWSOCKS</option>
<option value="hy2">کانفیگ HYSTERIA2</option>
<option value="trojan">کانفیگ TROJAN</option>
<option value="tuic">کانفیگ TUIC</option>
<option value="warp">کانفیگ WARP</option>
</select>
<select class="form-control" id="total">
<option value="10">حداکثر ۱۰ مورد</option>
<option value="25" selected>حداکثر ۲۵ مورد</option>
<option value="50">حداکثر ۵۰ مورد</option>
<option value="all">همه موارد</option>
</select>
<select class="form-control none" id="limit">
<option value="lite">نسخه سبک</option>
<option value="full" selected>نسخه کامل</option>
</select>
</div>
<div class="betaVersion rangeSelector">
<input type="radio" name="export" id="normal" value="1" checked />
<label for="normal">بهصورت عادی</label>
<div class="clearfix"></div>
<input type="radio" name="export" id="sub" value="1" />
<label for="sub">لینک ساب</label>
</div>
<div class="clearfix"></div>
<div class="btn btn-block btn-default" id="get">دریافت کانفیگ</div>
<div class="clearfix"></div>
<div class="fullBox none" id="result">
<textarea class="form-control dirLeft"></textarea>
<div class="clearfix"></div>
<div class="btn btn-link btn-xs" id="copy">کپی کانفیگ</div>
<div class="clearfix"></div>
<div class="alert alert-warning customers" id="customers">
<small class="label label-warning">تامینکنندگان</small>
<div class="clearfix"></div>
</div>
</div>
<br>
<div id="donate" class="modal fade" role="dialog">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">دونیت</h4>
</div>
<div class="modal-body modalBodyOverflow" dir="auto">
<p>به دلیل مسائل امنیتی این قابلیت برای کمک به Fwldom برداشته شده است</p>
<div class="dirLeft">
</div>
<p>کمک به IRCF</p>
<div class="dirLeft">
<small>Buy me a coffee:</small>
<br>
<a href="https://buymeacoffee.com/ircf" class="btn btn-default btn-block"
target="_blank">buymeacoffee.com/ircf</a>
<br>
<small>Tether (TRC20):</small>
<br>
<input type="text" class="form-control text-center"
value="TF5cT8fQMuajHGGH141U9JbTygFojkrFdB" />
<br>
<small>Bitcoin:</small>
<br>
<input type="text" class="form-control text-center"
value="bc1qyhx0qn9722vdvlz4s64g4sxq3yne0f5ryz3jyd" />
<br>
<small>Tron (TRX):</small>
<br>
<input type="text" class="form-control text-center"
value="TF5cT8fQMuajHGGH141U9JbTygFojkrFdB" />
<br>
<small>Ethereum:</small>
<br>
<input type="text" class="form-control text-center"
value="0x2A72777912A15A6387a1116f9bDDFe1Cb9474BF1" />
<br>
<small>Litecoin:</small>
<br>
<input type="text" class="form-control text-center"
value="ltc1q5d4u366xef336pjvccn7akn02upavmk45fhtdw" />
<br>
<small>TON (ERC20):</small>
<br>
<input type="text" class="form-control text-center"
value="0x2A72777912A15A6387a1116f9bDDFe1Cb9474BF1" />
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">حله</button>
</div>
</div>
</div>
</div>
<div id="qrModal" class="modal fade" role="dialog">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close pull-right" data-dismiss="modal"
aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title dirLeft">QRCode</h4>
</div>
<div class="modal-body">
<div class="qrcode" id="qrcode">
<a href="javascript:;" id="copyFromQR">
<img src="" alt="qrcode" />
</a>
<input id="subUrl" class="form-control dirLeft" value="" />
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" id="copyUrl">کپی آدرس</button>
</div>
</div>
</div>
</div>
<footer>
<p class="text-center">
© توسط
<a href="https://github.com/ircfspace/tconfig" target="_blank">IRCF</a>،
به کمک
<a href="https://github.com/yebekhe/TVC" target="_blank">YeBeKhe</a>
<br />
و آپدیت توسط
<a href="https://github.com/fwldom" target="_blank">fwldom</a>
<br />
<span dir="ltr">
<a class="github-button" href="https://github.com/fwldom/Freedom-GET"
data-color-scheme="no-preference: light; light: light; dark: dark;"
data-icon="octicon-star" data-show-count="true"
aria-label="Star ircfspace/tconfig on GitHub">Star</a>
</span>
</p>
<div class="text-center">
<a href="#" class="btn btn-link btn-normal btn-lg btn-outline donateLink" data-toggle="modal"
data-target="#donate">☕</a>
</div>
<script async defer src="https://buttons.github.io/buttons.js"></script>
</footer>
</div>
</div>
</div>
<!-- #endregion Freedom Get => main & setting-->
<!-- #region Set DNS | Dns Chnager => main -->
<div id="dns-set">
<button id="close-dns"><i class='bx bx-exit-fullscreen'></i></button>
<input type="text" id="dns1-text" placeholder="IP DNS : 1.1.1.1">
<input type="text" id="dns2-text" placeholder="IP DNS : 8.8.8.8">
<button id="submit-dns"><i class='bx bxs-save'></i></button>
</div>
<!-- #endregion Set DNS-->
<!-- #region Other All -->
<div id="about-app">
<button id="close-about"><i class='bx bx-exit-fullscreen'></i></button>
<p> Freedom Guard 1.2.9 (Mohsen Version)</p>
<p> Developed By Fwldom 👩💻</p>
<p>👇 Acknowledgements 👇</p>
<p> <a href="https://github.com/hiddify/hiddify-core/">hiddify-core 2.0.4</a> from Hiddify</p>
<p> <a href="https://github.com/bepass-org/warp-plus">warp-plus 1.2.3</a> from bepass-org</p>
<p> <a href="https://www.sordum.org/7952/dns-jumper-v2-3/">Dns Jumper 2.3</a> from sordum</p>
<p> <a href="https://github.com/fwldom/Freedom-GET">Freedom Get 1.5</a> from fwldom</p>
<p> <a href="https://github.com/Ptechgithub/warp">Scanner Endpoint 1.2</a> from Ptechgithub</p>
<p> email : <a href="mailto:fwldom@duck.com">fwldom@duck.com</a></p>
</div>
<div id="message">
<p id="messageText"></p>
<span id="message-border"
style="justify-content: flex-end;align-items: flex-end;margin-top: auto;border-radius: 15px;"></span>
</div>
<!-- #endregion Other All -->
</body>
<!-- #region Scripts -->
<script src="./renderer.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" type="text/javascript"></script>
<script src="./assets/js/bootstrap.min.js"></script>
<script src="./assets/js/slick-carousel_1.6.0.js"></script>
<script src="./assets/js/script.js?v1.5"></script>
<!-- #endregion Scripts -->
</html>