Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- oldPull = os.pullEvent
- os.pullEvent = os.pullEventRaw
- a = "-----<- DuT Access-Control ->-----"
- b = "ffffffffffffffffffffffffffffffffff"
- c = "0000000000000000000000000000000000"
- while true do
- term.clear()
- term.setBackgroundColor(colors.white)
- term.setTextColor(colors.black)
- pts = "."
- for i = 3, 1,-1 do
- term.clear()
- term.setCursorPos(1,1)
- print(a)
- print("Reading DuT-Datasafe"..pts)
- pts = pts..pts
- sleep(1)
- term.setBackgroundColor(colors.white)
- term.setTextColor(colors.black)
- end
- print(" ")
- print("Data found!")
- sleep(1)
- print("UserName : Aerophob-DUT")
- sleep(1)
- print("Password: ")
- term.setBackgroundColor(colors.white)
- term.setTextColor(colors.black)
- if read("*") == "3427894" then
- print("Access Granted.")
- sleep(2)
- term.clear()
- term.setCursorPos(1,1)
- break
- else
- print ("Incorrect Login Details.")
- sleep(1)
- end
- end
- os.PullEvent = oldPull
- shell.run("chan5")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement