-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathEndArch.py
438 lines (399 loc) · 25.4 KB
/
EndArch.py
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
import os
import subprocess
import time
import sys
from colorama import Fore, Style, init
import getpass
# CODER FYKS
# BU PROGRAM TAMAMEN ENDER TOPLULUK İÇİN YAPILMIŞTIR. ÜCRETSİZ VE OPEN-SOURCE DAĞITILMIŞTIR
# KODLARIN DEĞİŞTİRİLİP GITHUB BENZERİ PLATFORMLARDA DAĞITILMASINDA HİÇBİR SAKINCA YOKTUR, ENDER TOPLULUĞUN GELİŞMESİNDE BÜYÜK KATKITA BULUNMAK İÇİN CREDIT VEREBİLİRSİNİZ.
# DAHA FAZLA BİLGİ İÇİN BİZE ULAŞABİLİRSİNİZ.
# ENDER TOPLULUK DİSCORD : https://discord.gg/z9yQfFXk
# ENDER TOPLULUK PATREON : https://www.patreon.com/EnderProject
# ENDER TOPLULUK WEBSITESİ : https://endertopluluk.com
os.system('clear')
init(autoreset=True)
def clear_screen():
subprocess.call('clear' if os.name == 'posix' else 'cls', shell=True)
def run_command(command):
result = subprocess.run(
command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
return result
def run_command_silent(command):
result = subprocess.run(
command, shell=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, text=True)
return result.returncode
def print_header():
header = r"""
▓█████ ███▄ █ ▓█████▄ ▄▄▄ ██▀███ ▄████▄ ██░ ██
▓█ ▀ ██ ▀█ █ ▒██▀ ██▌ ▒████▄ ▓██ ▒ ██▒▒██▀ ▀█ ▓██░ ██▒
▒███ ▓██ ▀█ ██▒░██ █▌ ▒██ ▀█▄ ▓██ ░▄█ ▒▒▓█ ▄ ▒██▀▀██░
▒▓█ ▄ ▓██▒ ▐▌██▒░▓█▄ ▌ ░██▄▄▄▄██ ▒██▀▀█▄ ▒▓▓▄ ▄██▒░▓█ ░██
░▒████▒▒██░ ▓██░░▒████▓ ▓█ ▓██▒░██▓ ▒██▒▒ ▓███▀ ░░▓█▒░██▓
░░ ▒░ ░░ ▒░ ▒ ▒ ▒▒▓ ▒ ▒▒ ▓▒█░░ ▒▓ ░▒▓░░ ░▒ ▒ ░ ▒ ░░▒░▒
░ ░ ░░ ░░ ░ ▒░ ░ ▒ ▒ ▒ ▒▒ ░ ░▒ ░ ▒░ ░ ▒ ▒ ░▒░ ░
░ ░ ░ ░ ░ ░ ░ ░ ▒ ░░ ░ ░ ░ ░░ ░
░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
░ ░
"""
print(Fore.GREEN + header + Style.RESET_ALL)
def print_header2():
header = r"""
▓█████ ███▄ █ ▓█████▄ ▄▄▄ ██▀███ ▄████▄ ██░ ██
▓█ ▀ ██ ▀█ █ ▒██▀ ██▌ ▒████▄ ▓██ ▒ ██▒▒██▀ ▀█ ▓██░ ██▒
▒███ ▓██ ▀█ ██▒░██ █▌ ▒██ ▀█▄ ▓██ ░▄█ ▒▒▓█ ▄ ▒██▀▀██░
▒▓█ ▄ ▓██▒ ▐▌██▒░▓█▄ ▌ ░██▄▄▄▄██ ▒██▀▀█▄ ▒▓▓▄ ▄██▒░▓█ ░██
░▒████▒▒██░ ▓██░░▒████▓ ▓█ ▓██▒░██▓ ▒██▒▒ ▓███▀ ░░▓█▒░██▓
░░ ▒░ ░░ ▒░ ▒ ▒ ▒▒▓ ▒ ▒▒ ▓▒█░░ ▒▓ ░▒▓░░ ░▒ ▒ ░ ▒ ░░▒░▒
░ ░ ░░ ░░ ░ ▒░ ░ ▒ ▒ ▒ ▒▒ ░ ░▒ ░ ▒░ ░ ▒ ▒ ░▒░ ░
░ ░ ░ ░ ░ ░ ░ ░ ▒ ░░ ░ ░ ░ ░░ ░
░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
░ ░
"""
print(Fore.CYAN + header + Style.RESET_ALL)
def run_as_root(command):
try:
result = subprocess.run(
f"sudo {command}", shell=True, check=True, stdout=subprocess.PIPE, text=True)
return result.returncode == 0
except subprocess.CalledProcessError:
return False
def bekleme_animasyon(message):
animation = "|/-\\"
for i in range(20):
time.sleep(0.2)
sys.stdout.write("\r" + message + animation[i % len(animation)])
sys.stdout.flush()
def modul_kontrol(module_ismi):
result = run_command(f"pacman -Q {module_ismi}")
if result.returncode == 0:
print(f"Modüller indiriliyor... Lütfen bekleyiniz")
time.sleep(1)
print(Fore.GREEN + "[+]" + Style.RESET_ALL + " Modüller zaten indirilmiş. Yönlendiriliyorsunuz")
time.sleep(2)
else:
print(f"Modüller indiriliyor... Lütfen bekleyiniz")
time.sleep(2)
print(Fore.GREEN + "[+]" + Style.RESET_ALL + " Modüller başarıyla indirildi. Yönlendiriliyorsunuz")
time.sleep(3)
def main():
if os.geteuid() != 0:
print(Fore.RED + "[!]" + Style.RESET_ALL + " Bu scripti sadece root olarak çalıştırabilirsiniz. | End Arch")
return
module_ismi = "macchanger"
modul_kontrol(module_ismi)
clear_screen()
while True:
print_header()
print(
f"{Fore.LIGHTBLACK_EX} Arch-Linux komutları | EndArch{Style.RESET_ALL}")
print(f"{Fore.CYAN}#{Style.RESET_ALL}")
print(
f"{Fore.BLUE}[{Style.RESET_ALL}{Fore.GREEN}1{Style.RESET_ALL}{Fore.BLUE}]{Style.RESET_ALL} Sistemi Güncelle")
print(
f"{Fore.BLUE}[{Style.RESET_ALL}{Fore.GREEN}2{Style.RESET_ALL}{Fore.BLUE}]{Style.RESET_ALL} Toollar")
print(
f"{Fore.BLUE}[{Style.RESET_ALL}{Fore.GREEN}3{Style.RESET_ALL}{Fore.BLUE}]{Style.RESET_ALL} Ekstra araçlar")
print(
f"{Fore.BLUE}[{Style.RESET_ALL}{Fore.GREEN}4{Style.RESET_ALL}{Fore.BLUE}]{Style.RESET_ALL} Bilgi")
print(
f"{Fore.BLUE}[{Style.RESET_ALL}{Fore.GREEN}5{Style.RESET_ALL}{Fore.BLUE}]{Style.RESET_ALL} Çık")
print(
f"{Fore.BLUE}[{Style.RESET_ALL}{Fore.GREEN}6{Style.RESET_ALL}{Fore.BLUE}]{Style.RESET_ALL} Arch Sorun giderici")
print(
f"{Fore.BLUE}[{Style.RESET_ALL}{Fore.GREEN}7{Style.RESET_ALL}{Fore.BLUE}]{Style.RESET_ALL} >>EnderTopluluk Web sitesi<<")
class Renkler:
MAVI = '\033[94m'
YESIL = '\033[92m'
seçenek = input(f"Lütfen bir seçenek seçin {Renkler.YESIL}[-] ")
if seçenek == '1':
bekleme_animasyon("Sistem Güncelleştirmesi başlatılıyor ")
result = run_command_silent("sudo pacman -Syu --noconfirm")
if result == 0:
print("Sistem güncellendi.")
else:
clear_screen()
print(Fore.RED + "[!]" + Style.RESET_ALL + " Sistem güncelleme sırasında bir hata oluştu.")
elif seçenek == '4':
while True:
clear_screen()
print(
f" Bilgi | EndArch")
print("EndArch içinde bulunan Araçların anlamları :")
print("")
print("|Macchanger | MAC adresinizi değiştirir")
print("|EndMacchanger | MAC adresinizi belirli zamanlar içerisinde sürekli olarak değiştirir")
print("|HWID spoofer | Donanım kimliği numarasını sahteler(Spoof)")
print("|EndTrafficViewer | Ağınızdan gelen ve giden paketlerin bilgilerini gösterir")
print("|DdoS/DdoS Script | DDoS saldırısı bir hizmetin ağ trafiğinin yoğun bir şekilde artırılması yoluyla aşırı yüklenmesi sonucu erişilemez hale getirebilir")
print("|CloudFlare-Bypass| CloudFlare korumasını atlatarak (bypass) host'un gerçek IP adresini bulmaya yarar")
print("")
print("|BlacAarch | BlackArch, çok büyük miktarda siber güvenlik aracı sağlayan Arch linux tabanlı bir penetrasyon testi dağıtımı. EndArch aracı BlackArch toollarını otomatik olarak kurar")
print("|Metasploit | Metasploit, bilgisayar sistemlerinin ve ağların güvenlik açıklarını test etmek, sızma testleri yapmak için kullanılan bir açık kaynaklı siber güvenlik aracıdır.")
print("|beEF | beEF,kullanıcıların web tarayıcıları üzerinde güvenlik açıklarını tespit etmek ve farkındalık yaratmak amacıyla tasarlanmıştır.")
print("|Arch sorun çözme | Bu araç Arch Linux kurulu bilgisayarlarda olası işletim sistemi sorunlarını çözmek için kullanabilirsiniz.")
print("")
print(
f"{Fore.BLUE}Discord : https://discord.gg/z9yQfFXk {Style.RESET_ALL}")
print(
f"{Fore.BLUE}Patreon : https://www.patreon.com/EnderProject {Style.RESET_ALL}")
print(
f"{Fore.BLUE}[{Style.RESET_ALL}{Fore.GREEN}1{Style.RESET_ALL}{Fore.BLUE}]{Style.RESET_ALL} Devam et")
print(
f"{Fore.BLUE}[{Style.RESET_ALL}{Fore.GREEN}2{Style.RESET_ALL}{Fore.BLUE}]{Style.RESET_ALL} Geri dön")
sub_seçenek = input("Lütfen bir seçenek seçin : ")
if sub_seçenek == '1':
break
elif sub_seçenek == '2':
clear_screen()
break
else:
input(Fore.RED + "[!]" + Style.RESET_ALL + " Geçersiz seçenek. Devam etmek için Enter'a basın.")
elif seçenek == '2':
while True:
clear_screen()
print_header2()
print(
f" TOOLLAR | EndArch")
print(f"{Fore.CYAN}#{Style.RESET_ALL}")
print(f"{Fore.BLUE}[{Style.RESET_ALL}{Fore.RED}1{Style.RESET_ALL}{Fore.BLUE}]{Style.RESET_ALL} Mac Adresimi Değiştir {Fore.BLUE}[{Style.RESET_ALL}{Fore.RED}8{Style.RESET_ALL}{Fore.BLUE}]{Style.RESET_ALL} End Botnet")
print(
f"{Fore.BLUE}[{Style.RESET_ALL}{Fore.RED}2{Style.RESET_ALL}{Fore.BLUE}]{Style.RESET_ALL} EndMacchanger (Loop) {Fore.BLUE}[{Style.RESET_ALL}{Fore.RED}9{Style.RESET_ALL}{Fore.BLUE}]{Style.RESET_ALL} Metasploit+Msfconsole (Otomatik kurulum)")
print(
f"{Fore.BLUE}[{Style.RESET_ALL}{Fore.RED}3{Style.RESET_ALL}{Fore.BLUE}]{Style.RESET_ALL} VPN {Fore.BLUE}[{Style.RESET_ALL}{Fore.RED}10{Style.RESET_ALL}{Fore.BLUE}]{Style.RESET_ALL} End Cloudflare Bypass")
print(
f"{Fore.BLUE}[{Style.RESET_ALL}{Fore.RED}4{Style.RESET_ALL}{Fore.BLUE}]{Style.RESET_ALL} EndTrafficViewer {Fore.BLUE}[{Style.RESET_ALL}{Fore.RED}11{Style.RESET_ALL}{Fore.BLUE}]{Style.RESET_ALL} End DdoS script")
print(
f"{Fore.BLUE}[{Style.RESET_ALL}{Fore.RED}5{Style.RESET_ALL}{Fore.BLUE}]{Style.RESET_ALL} HWID spoofer")
print(
f"{Fore.BLUE}[{Style.RESET_ALL}{Fore.RED}6{Style.RESET_ALL}{Fore.BLUE}]{Style.RESET_ALL} Blackarch (Otomatik kurulum)")
print(f"{Fore.BLUE}[{Style.RESET_ALL}{Fore.RED}7{Style.RESET_ALL}{Fore.BLUE}]{Style.RESET_ALL} BeefHack")
print(f"{Fore.BLUE}[{Style.RESET_ALL}{Fore.GREEN}0{Style.RESET_ALL}{Fore.BLUE}]{Style.RESET_ALL} Geri dön {Fore.BLUE}[{Style.RESET_ALL}{Fore.GREEN}12{Style.RESET_ALL}{Fore.BLUE}]{Style.RESET_ALL} >>EnderTopluluk Web sitesi<<")
sub_seçenek = input(" Lütfen bir seçenek seçin : ")
if sub_seçenek == '1':
bekleme_animasyon("Macchanger scripti çalıştırılıyor...")
time.sleep(3)
clear_screen()
interface = input(
f"{Fore.GREEN} Arayüz adını girin (örn. wlan0) : ")
result = run_command_silent(
f"sudo macchanger -R {interface}")
if "New MAC" in result.stdout:
print(Fore.GREEN + "[+]" + Style.RESET_ALL + " Mac adresiniz değiştirildi.")
else:
print(Fore.RED + "[!]" + Style.RESET_ALL + " Mac adresiniz değiştirilemedi.")
elif sub_seçenek == '2':
bekleme_animasyon("EndMacchanger scripti çalıştırılıyor... ")
time.sleep(3)
clear_screen()
arayuz = input(
f"{Fore.GREEN} Arayüz adını girin (örn. wlan0) : ")
sure = int(input(
f"{Fore.GREEN} Kaç saniye içinde tekrar mac adresinizin değiştirilmesini istiyorsunuz? (örn. 150):{Style.RESET_ALL} "))
print(
Fore.GREEN + "[+]" + Style.RESET_ALL + f" EndMacchanger çalışıyor. MAC adresiniz her {sure} saniyede bir değiştirilecek.")
run_command_silent(
f"sudo watch -n {sure} macchanger -r {arayuz}")
time.sleep(5)
print(f"{Fore.GREEN}[+]{Style.RESET}MAC adresiniz değiştirildi.{Style.RESET_ALL}")
time.sleep(sure)
print(f"{Fore.GREEN}[+]{Style.RESET}MAC adresiniz değiştirildi.{Style.RESET_ALL}")
elif sub_seçenek == '12':
run_command_silent("xdg-open https://endertopluluk.com")
elif sub_seçenek == '10':
clear_screen()
bekleme_animasyon("CloudflareBypass başlatılıyor... ")
time.sleep(2)
clear_screen()
current_user = getpass.getuser()
betik_yolu2 = os.path.expanduser(f"/home/{current_user}/Desktop/EndArch/bin/CloudflareBypass.sh")
process = subprocess.Popen(['sudo', 'bash', betik_yolu2], stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
while True:
output = process.stdout.readline()
if output == '' and process.poll() is not None:
break
if output:
print(output.strip())
while True:
error_output = process.stderr.readline()
if error_output == '' and process.poll() is not None:
break
if error_output:
print(Fore.RED + "[!]" + Style.RESET_ALL + " Hata mesajı:")
print(error_output.strip())
elif sub_seçenek == '6':
clear_screen()
bekleme_animasyon("BlackArch toolarını kuruluyor... Bu işlem biraz zaman alabilir ")
run_command("curl -O https://blackarch.org/strap.sh")
run_command(
"echo 5ea40d49ecd14c2e024deecf90605426db97ea0c strap.sh | sha1sum -c")
run_command("chmod +x strap.sh")
run_command("sudo ./strap.sh")
run_command("sudo pacman -Syu --noconfirm")
print(
Fore.GREEN + "[+]" + Style.RESET_ALL + " BlackArch tooları başarıyla kuruldu ! Toolları görüntülemek için, 'sudo pacman -S blackarch'")
time.sleep(10)
clear_screen()
elif sub_seçenek == '8':
print("discord.gg/")
elif sub_seçenek == '9':
bekleme_animasyon("Otomatik Metasploit kurulumu başladı... Bu işlem zaman alabilir")
time.sleep(2)
run_command_silent("sudo pacman -S metasploit --noconfirm ")
run_command_silent("")
time.sleep(1)
print(Fore.GREEN + "[+]" + Style.RESET_ALL + " Metasploit kurulumu tamamlandı!")
input("Ana menüye dönmek için Enter'a basın...")
elif sub_seçenek == '7':
bekleme_animasyon("beEF toolu indirme işlemi başladı... Kurulum bittiğinde menüye yönlendirileceksiniz ")
time.sleep(1)
run_command_silent("git clone https://github.com/beefproject/beef")
run_command_silent("cd beef && sudo ./install")
run_command_silent("bundle install")
run_command_silent("cd ..")
print(Fore.GREEN + "[+]" + Style.RESET_ALL + " beEF toolu kurulumu ve indirme işlemi tamamlandı. Tool, beef klasörüne girip ./beef yazarsanız çalışacaktır.")
elif sub_seçenek == '4':
clear_screen()
bekleme_animasyon("EndTrafficViewer başlatılıyor...")
time.sleep(2)
clear_screen()
current_user = getpass.getuser()
betik_yolu = os.path.expanduser(f"/home/{current_user}/Desktop/EndArch/bin/EndTrafficViewer.py")
process = subprocess.Popen(['sudo', 'python', betik_yolu], stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
while True:
output = process.stdout.readline()
if output == '' and process.poll() is not None:
break
if output:
print(output.strip())
while True:
error_output = process.stderr.readline()
if error_output == '' and process.poll() is not None:
break
if error_output:
print(Fore.RED + "[!]" + Style.RESET_ALL + " Hata mesajı:")
print(error_output.strip())
elif sub_seçenek == '0':
clear_screen()
break
else:
input(Fore.RED + "[!]" + Style.RESET_ALL + " Geçersiz seçenek. Devam etmek için Enter'a basın.")
elif seçenek == '6':
while True:
print_header()
clear_screen()
print(
f"{Fore.LIGHTBLACK_EX} Arch sorun giderici | EndArch{Style.RESET_ALL}")
print("Bu özellik, yalnızca ARCH Linux işletim sistemi üzerinde belirli sorunlara çözüm sunmak amacıyla oluşturulmuştur. Eğer bu sorunları yaşamıyorsanız bu özelliği KULLANMAYIN!.")
print(
f"{Fore.BLUE}[{Style.RESET_ALL}{Fore.RED}1{Style.RESET_ALL}{Fore.BLUE}]{Style.RESET_ALL} Çözünürlük sorunlarını çöz (Xrandr)")
print(
f"{Fore.BLUE}[{Style.RESET_ALL}{Fore.RED}2{Style.RESET_ALL}{Fore.BLUE}]{Style.RESET_ALL} Bluetooth sorunlarını çöz (Bluez)")
print(
f"{Fore.BLUE}[{Style.RESET_ALL}{Fore.RED}3{Style.RESET_ALL}{Fore.BLUE}]{Style.RESET_ALL} İnternet sorunlarını çöz")
print(
f"{Fore.BLUE}[{Style.RESET_ALL}{Fore.RED}4{Style.RESET_ALL}{Fore.BLUE}]{Style.RESET_ALL} Wine sorunlarını çöz")
print(
f"{Fore.BLUE}[{Style.RESET_ALL}{Fore.RED}5{Style.RESET_ALL}{Fore.BLUE}]{Style.RESET_ALL} Önerilen pacman paketlerini kur")
print(
f"{Fore.BLUE}[{Style.RESET_ALL}{Fore.RED}6{Style.RESET_ALL}{Fore.BLUE}]{Style.RESET_ALL} Diğer sorunlar")
print(
f"{Fore.BLUE}[{Style.RESET_ALL}{Fore.RED}7{Style.RESET_ALL}{Fore.BLUE}]{Style.RESET_ALL} Geri dön")
sub_seçenek = input("Lütfen bir seçenek seçin : ")
if sub_seçenek == '1':
clear_screen()
ekranadi = input(
"Çözünürlük sorunu yaşadığınız ekranın adını giriniz (örn. VGA-1): ")
cozunurluk = input(
f"{Fore.GREEN} Ekrana zorunlu olarak uygulanacak çözünürlük (örn. 1920x1080) : ")
herz = input(
f"{Fore.GREEN} Çözünürlüğü herzleriyle birlikte belirtin (örn. 1920 1080 144): ")
command = f"""xrandr --newmode $(cvt {herz} | grep Mode | sed -e 's/.*"/{cozunurluk}/')"""
result = run_command_silent(command)
if result == 0:
run_command_silent(
f"xrandr --addmode {ekranadi} {cozunurluk}")
run_command_silent(
f"xrandr --output {ekranadi} --mode '{cozunurluk}' ")
print(Fore.GREEN + "[+]" + Style.RESET_ALL + " Çözünürlük uygulandı.")
else:
print(Fore.RED + "[!]" + Style.RESET_ALL + "Çözünürlük uygulanamadı.")
elif sub_seçenek == '2':
clear_screen()
bekleme_animasyon("Bluetooth sorunları çözülüyor... ")
run_command("systemctl enable bluetooth.service")
run_command("systemctl start bluetooth.service")
print(f"Bluetooth sorunları çözüldü.")
elif sub_seçenek == '4':
clear_screen()
bekleme_animasyon("Wine ile ilgili sorunlar çözülüyor...")
time.sleep(2)
run_command_silent("sudo pacman -R wine")
run_command_silent("sudo pacman -S wine")
run_command_silent("ulimit -s unlimited")
print(
Fore.GREEN + "[+]" + Style.RESET_ALL + " Başarılı. Hâlâ sorunlar çözülmediyse Wine'yi root olarak çalıştırmayı deneyebiliriz")
wine = input(
f"{Fore.GREEN}Çalıştırmak istediğiniz programın adını girin :{Style.RESET_ALL}")
run_command_silent(f"sudo wine {wine} ")
elif sub_seçenek == '5':
bekleme_animasyon(Fore.GREEN + "[+]" + Style.RESET_ALL + " Önerilen pacman paketleri kuruluyor")
run_command(
"sudo pacman -Syu --needed --noconfirm $(pacman -Qq | grep -v \"$(pacman -Qqe)\")")
elif sub_seçenek == '6':
print("Diğer sorunların çözümü için : https://discord.gg/z9yQfFXk")
elif sub_seçenek == '7':
clear_screen()
break
else:
input(Fore.RED + "[!]" + Style.RESET_ALL + "Geçersiz seçenek. Devam etmek için Enter'a basın.")
elif seçenek == '3':
while True:
print_header()
clear_screen()
print(
f"{Fore.LIGHTBLACK_EX} Ekstra araçlar | EndArch{Style.RESET_ALL}")
print(f"{Fore.CYAN}#{Style.RESET_ALL}")
print(f"{Fore.CYAN}#{Style.RESET_ALL}")
print(
f"{Fore.BLUE}[{Style.RESET_ALL}{Fore.RED}1{Style.RESET_ALL}{Fore.BLUE}]{Style.RESET_ALL} Timeshift (yedekleme ve geri yükleme aracı)")
print(
f"{Fore.BLUE}[{Style.RESET_ALL}{Fore.RED}2{Style.RESET_ALL}{Fore.BLUE}]{Style.RESET_ALL} Pacman/pamac/yay/AUR üzerinden paket indirme işlemi")
print(
f"{Fore.BLUE}[{Style.RESET_ALL}{Fore.GREEN}8{Style.RESET_ALL}{Fore.BLUE}]{Style.RESET_ALL} >>EnderTopluluk Web sitesi<<")
sub_seçenek = input("Lütfen bir seçenek seçin : ")
if sub_seçenek == '2':
clear_screen()
print(
f"Bu seçenek istediğiniz bir uygulamayı bir çok packet managerde arayarak indirecektir.")
time.sleep(3)
packetx = input(f"İndirmek istediğiniz uygulama : ")
run_command_silent("sudo pacman -S {packetx} --noconfirm")
run_command_silent("sudo pamac install {packetx} ")
run_command_silent("sudo yay -S {packetx} --noconfirm")
run_command_silent(
"git clone https://aur.archlinux.org/{packetx}.git")
print(
"{packetx} uygulamasının Pacman, pamac, yay ve aur üzerinden indirme işlemleri bitti. Kurulup kurulmadığına bakabilirsiniz.")
elif sub_seçenek == '1':
clear_screen()
bekleme_animasyon("Timeshift yedekleme ve geri yükleme aracı kuruluyor... ")
run_command("sudo pacman -S timeshift")
print(Fore.GREEN + "[+]" + Style.RESET_ALL + " Timeshift başarıyla kuruldu.")
elif sub_seçenek == '8':
break
else:
input(Fore.RED + "[!]" + Style.RESET_ALL + "Geçersiz seçenek. Devam etmek için Enter'a basın.")
elif seçenek == '5':
clear_screen()
print(Fore.GREEN + "[+]" + Style.RESET_ALL + " EndArch'tan çıkılıyor... İyi günler dileriz!")
break
elif seçenek == '7':
clear_screen()
print("Ender Topluluk Web Sitesine yönlendiriliyorsunuz... ")
time.sleep(3)
os.system("xdg-open https://endertopluluk.com")
else:
input(Fore.RED + "[!]" + Style.RESET_ALL + " Geçersiz seçenek. Devam etmek için Enter'a basın.")
if __name__ == "__main__":
main()