-
Notifications
You must be signed in to change notification settings - Fork 2
/
log.py
57 lines (55 loc) · 2.11 KB
/
log.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
from getpass import getpass
import os
import time
def menu():
while True:
print("")
os.system("clear")
print('\033[1;36;40m<─────────────── v.1.2 ───────────────>')
print('')
os.system('date | lolcat')
print("\033[1;93m")
print(" \033[1;92m 786 => bismi-llāhir-raḥmānir-raḥīm')")
print("\033[1;93m")
print(" <───────[ Assalamu-Alaikum ]───────>")
print("")
try:
x = str(input('\033[1;92mUsername \033[1;93m: '))
print("")
e = getpass('\033[1;92mPassword \033[1;93m: ')
print ("")
if x=="mujeeb" and e=="12345":
print('wait...')
time.sleep(1)
os.system('clear')
print('')
os.system('figlet ' + x + ' | lolcat')
print('\033[1;92m ────────────────────────────────────── ')
print("")
break
else:
print("")
print("")
print("")
print("")
print("\033[1;91m Wrong Password")
time.sleep(2)
print("")
except Exception:
print("")
print("")
print("")
print("")
print("")
print("\033[1;91m Wrong Password")
time.sleep(2)
except KeyboardInterrupt:
print("")
os.system('killall -9 com.termux')
print("")
print("")
print("")
print("")
print("\033[1;91m Wrong Password")
time.sleep(2)
menu()