Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.pullEvent = os.pullEventRaw
- term.setBackgroundColor( colors.black )
- term.clear()
- term.setCursorPos(1,1)
- print("Assuming user 'user'")
- local yourpass = "0000"
- local Admin = "user"
- print("Enter username")
- usrname = read()
- print("Enter password")
- password = read("")
- if password == yourpass and usrname == Admin then
- print("Type back to return")
- print("Ignore the error below")
- print("----------------------")
- else
- print("DENIED")
- sleep(2)
- os.reboot()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement