Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- username = "s0ci3ty"
- password = "127.0.0.1"
- get_user = 0
- get_pass = 0
- user_right = 0
- x = 0
- def request_user():
- global get_user
- get_user = raw_input("user:")
- def request_pass():
- global get_pass
- get_pass = raw_input("root@password: ")
- request_user()
- if get_user == username:
- request_pass()
- else:
- x = raw_input("root@password: ")
- if get_pass == password:
- print "- | USER " + username + " HAVE SUCCUSSFULLY LOGGED IN! | -"
- elif get_pass == "localhost":
- print "- | USER " + username + " HAVE SUCCUSSFULLY LOGGED IN! | -"
- elif x == 200: #random number
- print " - | TRY AGAIN ! ! | -"
- else:
- print " - | TRY AGAIN ! ! | -"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement