-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsectools.py
More file actions
145 lines (133 loc) · 3.97 KB
/
Copy pathsectools.py
File metadata and controls
145 lines (133 loc) · 3.97 KB
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
import os
import sys
import time
import pyfiglet
############################
def clear():
if os.name == "nt":
os.system("cls")
else:
os.system("clear")
############################
giris_banner = pyfiglet.figlet_format("Pentester Tools")
print(giris_banner)
print("Sadece Linux İçin Hazırlanmıştır")
print("================================")
print("Kategori Seçiniz")
kategorisecim = int(input("1) Web Hacking\n2) Network Hacking\n3) Password Hacking\n4) Exploit\n5) Güncelleme & Toolları İndirme \n6) Exit\nSeçiminiz: "))
if kategorisecim < 1 or kategorisecim > 5:
print("Hatalı Seçim Yaptınız")
sys.exit()
#################KATEGORİLER#################
if kategorisecim == 1:
clear()
print("Web Hacking Kategorisi Seçildi")
print("1) Sqlmap")
print("2) Dirsearch")
print("3) Nikto")
print("4) Burp Suite")
print("5) Exit")
websecim = int(input("Seçiminiz: "))
if websecim < 1 or websecim > 6:
print("Hatalı Seçim Yaptınız")
sys.exit()
if websecim == 1:
clear()
print("Sqlmap Başlatılıyor")
os.system("sqlmap")
elif websecim == 2:
clear()
print("Dirsearch Başlatılıyor")
os.system("dirsearch")
elif websecim == 3:
clear()
print("Nikto Başlatılıyor")
os.system("nikto")
elif websecim == 4:
clear()
print("Burp Suite Başlatılıyor")
os.system("burpsuite")
elif websecim == 5:
clear()
print("Çıkış Yapılıyor")
time.sleep(2)
sys.exit()
elif kategorisecim == 2:
clear()
print("Network Hacking Kategorisi Seçildi")
print("1) Nmap")
print("2) Netdiscover")
print("3) Exit")
netsecim = int(input("Seçiminiz: "))
if netsecim < 1 or netsecim > 3:
print("Hatalı Seçim Yaptınız")
sys.exit()
if netsecim == 1:
clear()
print("Nmap Başlatılıyor")
os.system("nmap")
elif netsecim == 2:
clear()
print("Netdiscover Başlatılıyor")
os.system("netdiscover")
elif netsecim == 3:
clear()
print("Çıkış Yapılıyor")
time.sleep(2)
sys.exit()
elif kategorisecim == 3:
clear()
print("Password Hacking Kategorisi Seçildi")
print("1) Hydra")
print("2) Medusa")
print("3) Exit")
passsecim = int(input("Seçiminiz: "))
if passsecim < 1 or passsecim > 3:
print("Hatalı Seçim Yaptınız")
sys.exit()
if passsecim == 1:
clear()
print("Hydra Başlatılıyor")
os.system("hydra")
elif passsecim == 2:
clear()
print("Medusa Başlatılıyor")
os.system("medusa")
elif passsecim == 3:
clear()
print("Çıkış Yapılıyor")
time.sleep(2)
sys.exit()
elif kategorisecim == 4:
clear()
print("Exploit Kategorisi Seçildi")
print("1) Metasploit")
print("2) Exit")
expsecim = int(input("Seçiminiz: "))
if expsecim < 1 or expsecim > 2:
print("Hatalı Seçim Yaptınız")
sys.exit()
if expsecim == 1:
clear()
print("Metasploit Başlatılıyor")
os.system("msfconsole")
elif expsecim == 2:
clear()
print("Çıkış Yapılıyor")
time.sleep(2)
sys.exit()
elif kategorisecim == 5:
clear()
print("Gerekli Güncellemeler Yapılıyor")
time.sleep(2)
os.system("apt update && apt upgrade -y")
print("Gerekli Araçlar Yükleniyor")
os.system("apt install sqlmap dirsearch nikto burpsuite nmap netdiscover hydra medusa metasploit-framework")
print("Güncelleme ve Yükleme İşlemi Tamamlandı")
sys.exit()
elif kategorisecim == 6:
clear()
print("Çıkış Yapılıyor")
time.sleep(2)
sys.exit()
#############################################