Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import time
- utilizador = "admin"
- password = 123
- root = 122112
- print("+-------------------------------------------+")
- print("| Black Man - Industrial Security System |")
- print("| Developed by: Xx_DarDoAzuL_xX |")
- print("+-------------------------------------------+")
- while True:
- print("")
- print("+-------------------------------------------+")
- username = str(input(" +--> Enter username: "))
- if username == utilizador:
- print("+-------------------------------------------+")
- time.sleep(1)
- pw = int(input(" +--> Enter password: "))
- else:
- print("+-------------------------------------------+")
- time.sleep(1)
- print(" ")
- print(" +-------------------------+ ")
- print(" +--> Unauthorized Access + ")
- print(" +-------------------------+ ")
- time.sleep(1)
- continue
- if pw == password :
- print("+-------------------------------------------+")
- time.sleep(1)
- print(" ")
- print(" ")
- print(" |-----------------------|")
- print(" |--| Authorized Access |")
- print(" |-----------------------|")
- time.sleep(1)
- break
- elif pw == root :
- print("+-------------------------------------------+")
- time.sleep(1)
- print(" ")
- print(" |-------------------------|")
- print(" | Terminal Access Granted |")
- print(" |-------------------------|")
- print(" ")
- time.sleep(1)
- break
Add Comment
Please, Sign In to add comment