@@ -77,7 +77,8 @@ def main_menu():
77
77
def open_terminal ():
78
78
79
79
while True :
80
- text = prompt ('awaiting commands>>>> ' )
80
+ print (" for a list of commands, please type 'commands' " )
81
+ text = prompt ('awaiting command(s)>>> ' )
81
82
#put all the usercommands under here please!
82
83
if text == 'CNS' :
83
84
print ("running secondary program..." )
@@ -89,13 +90,18 @@ def open_terminal():
89
90
continue
90
91
91
92
93
+ if text == 'walker' :
94
+ print ("welcome walker to your login! please wait while your coffee brews......." )
95
+ time .sleep (3 )
96
+ walker_login ()
92
97
93
98
#BUG: the error "no command" will reply when exiting the FROST EE!
94
99
# FROST EE WIP!!
95
100
if text == 'frostbyte' :
96
- print ("loading frostbyte EE..." )
101
+ print ("welcome frostbyte to your login! please wait while i startup the supercomputer and freeze these bytes!...." )
102
+ time .sleep (3 )
97
103
#enters the frostbyte EE
98
- frostbyte_EE ()
104
+ frostbyte_login ()
99
105
100
106
101
107
#below are all the non-user commands, DO NOT REMOVE!
@@ -124,31 +130,59 @@ def open_terminal():
124
130
# the CNS EE below this messange
125
131
def CNS_EE_HAKED ():
126
132
result = yes_no_dialog (
127
- title = 'Do you want, the TrUtH? ' ,
128
- text = 'Do you want to confirm? dO yOU wAnT ThE tRUTh? Do YoU WaNt tHe tRUTh? Do YoU WaNt tHe tRUTh?' ).run ()
133
+ title = 'CNS.02.06.01 ' ,
134
+ text = 'dO yOU wAnT ThE tRUTh?' ).run ()
129
135
if result == True :
130
136
message_dialog (
131
- title = 'CNS CNS CNS CNS CNS CNS SeeK tHe TrutH ' ,
137
+ title = 'CNS.02.06.01 ' ,
132
138
text = 'very well then, we will see you soon enough' ).run ()
133
139
134
140
print (" FATAL ERROR!: VAIIYA defenter has encountered an error! please restart the program to continue!" )
135
141
time .sleep (4 )
136
142
exit ()
137
143
if result == False :
138
144
message_dialog (
139
- title = 'CNS CNS CNS CNS CNS CNS SeeK tHe TrutH ' ,
145
+ title = 'CNS.02.06.01 ' ,
140
146
text = 'how dissapointing, that you dont want tHe TrutH. we will see you soon enough' ).run ()
141
147
142
148
print (" FATAL ERROR!: VAIIYA defenter has encountered an error! please restart the program to continue!" )
143
149
time .sleep (4 )
144
150
exit ()
145
151
146
-
147
- #hehe youll never get de password now! ahahahah AHAHAHAHA
152
+ #add passwords here for the logins and name the vars respectivly
153
+ #hehe youll never get the passwords now! AHAHAHAHAHA!
154
+ #walkerpasswrd1
155
+ walkerhash = b'$2b$12$M7LXCClyfsnN9SjibtnEmuLEOlR68H2ovjCBA0zcAIBs2RHBzOnFy'
148
156
#frostEEpswrd1
149
- hash = b'$2b$12$AUur7AKX1aGQurOlmM46Pu0OX9HXqx6UHH9SHiEvrCJM56JvUjYfu'
157
+ frosthash = b'$2b$12$AUur7AKX1aGQurOlmM46Pu0OX9HXqx6UHH9SHiEvrCJM56JvUjYfu'
158
+
159
+
160
+ #walker login here
161
+ def walker_login ():
162
+ print ("Welcome walker! please put in your password that i gave you!" )
163
+ print ("To exit, please type 'EXIT' in the password prompt!" )
164
+ #password prompt;
165
+ userpassword = text = prompt ('walkers password: ' , is_password = True )
166
+ #encodes the given password for comapare
167
+ userpassword = userpassword .encode ('utf-8' )
168
+
169
+ #comapre password hashes, if identical then "result" == True, then it will move onto walker_entered
170
+ result = bcrypt .checkpw (userpassword , walkerhash )
171
+ if result :
172
+ walker_entered ()
173
+ if text == 'exit' :
174
+ return
175
+ #end of walker password varifi
176
+ def walker_entered ():
177
+ print ("welcome walker! here currnently there is nothing, i have no idea what to put here for you guys." )
178
+ print ("but id assume you are familiar with github so if you have an idea i would more than glad take a look and try to implement it! " )
179
+ text = prompt ("type EXIT to exit this page; " )
180
+ if text == 'exit' :
181
+ return
182
+ #end of walker login/EE
183
+
150
184
# FROST EE STUFF OVER HERE!
151
- def frostbyte_EE ():
185
+ def frostbyte_login ():
152
186
153
187
154
188
print ("to exit, type EXIT in the password!" )
@@ -157,17 +191,17 @@ def frostbyte_EE():
157
191
userpassword = userpassword .encode ('utf-8' )
158
192
159
193
#comapre password hashes
160
- result = bcrypt .checkpw (userpassword , hash )
194
+ result = bcrypt .checkpw (userpassword , frosthash )
161
195
if result :
162
196
frostbytes_EE_entered ()
163
197
if text == 'exit' :
164
198
return
165
199
# 2nd part to the FROST EE
166
200
def frostbytes_EE_entered ():
167
- print (f"""welcome frostbyte! to your ee! dont worry, no one will find your password ^_+ """ )
168
- text = prompt (' type EXIT to exit this page; ' )
169
- if text == 'exit' :
170
- return
201
+ print (f"""welcome frostbyte! to your ee/login ! dont worry, no one will find your password ^_+ """ )
202
+ text = prompt (" type EXIT to exit this page;" )
203
+ if text == 'exit' :
204
+ return
171
205
#END OF FROST EE CODE,
172
206
173
207
0 commit comments