Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ekadanuarta
GitHub Repository: ekadanuarta/Tool-X
Path: blob/main/modules/logo.py
974 views
1
red="\033[1;31m"
2
green="\033[1;32m"
3
yellow="\033[1;33m"
4
blue="\033[1;34m"
5
purple="\033[1;35m"
6
cyan="\033[1;36m"
7
violate="\033[1;37m"
8
nc="\033[00m"
9
10
class logo:
11
@classmethod
12
def tool_header(self):
13
print(f'''\007
14
15
{yellow}
16
_____ _ __ __
17
|_ _|__ ___ | | \ \/ /
18
| |/ _ \ / _ \| |____\ /
19
| | (_) | (_) | |____/ \
20
|_|\___/ \___/|_| /_/\_\ {purple}v2.1
21
22
23
{cyan} =============================================
24
{yellow}| Install Best Hacking Tool |
25
{cyan} ============================================={nc}''')
26
27
@classmethod
28
def tool_footer(self):
29
print(f'''{cyan}_______________________________________________
30
==============================================={nc}''')
31
32
33
@classmethod
34
def not_ins(self):
35
self.tool_header()
36
print (f'''
37
{cyan} [ + ] {red}We can't install Tool-X.
38
{cyan} [ + ] {red}There are some error.
39
{cyan} [ + ] {red}Please try again after some time!''')
40
self.tool_footer()
41
42
@classmethod
43
def ins_tnc(self):
44
self.tool_header()
45
print (f'''
46
{yellow} [ + ] {green}Use It At Your Own Risk.
47
{yellow} [ + ] {green}No Warranty.
48
{yellow} [ + ] {green}Use it legal purpose only.
49
{yellow} [ + ] {green}We are not responsible for your actions.
50
{yellow} [ + ] {green}Do not do things that are forbidden.
51
52
{red} If you are installing this tool.
53
that means you are agree with all terms.''')
54
self.tool_footer()
55
56
@classmethod
57
def ins_sc(self):
58
self.tool_header()
59
print (f'''
60
{yellow} [ + ] {green}Tool-X installed successfully.
61
{yellow} [ + ] {green}To run Tool-X,
62
{yellow} [ + ] {green}Type Tool-X in your terminal.''')
63
self.tool_footer()
64
65
@classmethod
66
def update(self):
67
self.tool_header()
68
print (f'''
69
{yellow} [ 1 ] {green}Update your Tool-X.
70
{yellow} [ 0 ] {green}For Back.{nc}''')
71
self.tool_footer()
72
73
@classmethod
74
def updated(self):
75
self.tool_header()
76
print (f'''
77
{yellow} [ + ] {green}Tool-X Updated Successfully.
78
{yellow} [ + ] {green}Press Enter to continue.{nc}''')
79
self.tool_footer()
80
81
@classmethod
82
def nonet(self):
83
self.tool_header()
84
print (f'''
85
{cyan} [ + ] {red}No network connection?
86
{cyan} [ + ] {red}Are you offline?
87
{cyan} [ + ] {red}Please try again after some time.{nc}''')
88
self.tool_footer()
89
90
@classmethod
91
def update_error(self):
92
self.tool_header()
93
print (f'''
94
{red} [ + ] {red}We can't Update Tool-X.\033[1;m
95
{red} [ + ] {red}Please try again after some time.{nc}''')
96
self.tool_footer()
97
98
99
@classmethod
100
def about(self,total):
101
self.tool_header()
102
print (f'''
103
{yellow} [+] Tool Name :- {green}Tool-X
104
{yellow} [+] Latest Update :- {green}23/3/2019.\033[1;m
105
{yellow} [+] Tools :- {green}total {total} tools.\033[1;m
106
107
{yellow} [+] {green}Tool-x is automatic tool installer.
108
{yellow} [+] {green}Made for termux and linux based system.
109
{red} [+] Note :- Use this tool at your own risk.''')
110
self.tool_footer()
111
112
113
@classmethod
114
def install_tools(self):
115
print (f"""{yellow} =============================================
116
{green}|_____________ Select your tool ______________|
117
{yellow}============================================={nc}""")
118
119
@classmethod
120
def already_installed(self,name):
121
self.tool_header()
122
print(f'''
123
{yellow} [ + ] {green}Sorry ??
124
{yellow} [ + ] {violate}'{name}'{green} is already Installed !!
125
''')
126
self.tool_footer()
127
128
@classmethod
129
def installed(self,name):
130
self.tool_header()
131
print(f'''
132
{yellow} [ + ] {green}Installed Successfully !!
133
{yellow} [ + ] {violate}'{name}'{green} is Installed Successfully !!
134
''')
135
self.tool_footer()
136
137
@classmethod
138
def not_installed(self,name):
139
self.tool_header()
140
print(f'''
141
{yellow} [ + ] {red}Sorry ??
142
{yellow} [ + ] {violate}'{name}'{red} is not installed !!
143
''')
144
self.tool_footer()
145
146
@classmethod
147
def back(self):
148
print (f"""\033[01;36m =============================================
149
{yellow}| 00) Back |
150
\033[01;36m============================================={nc}""")
151
152
@classmethod
153
def updating(self):
154
print (f"""{yellow} =============================================
155
{green}|______________ Updating Tool-X ______________|
156
{yellow}============================================={nc}""")
157
158
@classmethod
159
def installing(self):
160
print (f"""{yellow} =============================================
161
{green}|________________ Installing _________________|
162
{yellow}============================================={nc}""")
163
164
@classmethod
165
def menu(self,total):
166
self.tool_header()
167
print (f'''
168
{yellow} [ 1 ] {green}Show all tools.{yellow} [ {purple}{total} tools{yellow} ]
169
{yellow} [ 2 ] {green}Tools Category.
170
{yellow} [ 3 ] {green}Update Tool-X.
171
{yellow} [ 4 ] {green}About Us.
172
{yellow} [ x ] {green}For Exit.''')
173
self.tool_footer()
174
175
@classmethod
176
def exit(self):
177
self.tool_header()
178
print (f'''
179
{yellow} [ + ] {green}Thanks for using Tool-X
180
{yellow} [ + ] {green}Good Bye.....! ){nc}''')
181
self.tool_footer()
182
183