-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
28 lines (26 loc) · 865 Bytes
/
main.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
import os
import time
import getpass
os.system("clear")
os.system("toilet 'LOGIN' | boxes -d cat -a hc -p h20 | lolcat")
print("\033[1;32;40m")
correctusername = 'shell'
correctpass = 'shell'
loop ='true'
while loop == 'true':
username = input(" >~~~~~~~~~~~>ENTER USERNAME(default=shell)>~~~~~~~~~~~>|= ")
if username == correctusername:
loop1 ='true'
while loop1 == 'true':
password = getpass.getpass(">~~~~~~~~~~~>ENTER PASSWORD(default=shell)>~~~~~~~~~~~>|==")
if password == correctpass:
print("logged in successfull")
time.sleep(1)
os.system("clear")
loop ='false'
loop1 = 'false'
else:
print("password incorrect")
else:
print("invalid username")
os.system("cd tools ; python3 lobby.py")