Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("back")
- local verServer = 415
- local realPass = ""
- local username = ""
- local passAttempt = ""
- function clear()
- term.clear()
- term.setCursorPos(1,1)
- end
- clear()
- print("Verification details:")
- term.setCursorPos(1,2)
- print("--------------------------------")
- term.setCursorPos(1,4)
- write("Username: ")
- username = read()
- term.setCursorPos(1,5)
- write("Password: ")
- passAttempt = read("*")
- username = string.lower(username)
- if username == pwrocks5648 then
- clear()
- print("java.lang.arrayOutOfBoundsException" .. string.rep("x", 100))
- sleep(5)
- clear()
- os.print("USER BANNED:29: ATTEMPTED HACK")
- os.reboot()
- else
- rednet.send(verServer, username)
- local id, msg, dis = rednet.receive()
- --print("receive time")
- realPass = msg
- --realPass = "pass"
- if realPass == "" then
- os.reboot()
- end
- if realPass == passAttempt then
- rs.setOutput("right", true)
- sleep(5)
- rs.setOutput("right", false)
- clear()
- os.reboot()
- else
- os.reboot()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement