Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- key = "PlaceKeyHere"
- -----------------------------
- term.setCursorPos(1, 1)
- term.clear()
- os.pullEvent = os.pullEventRaw
- me = shell.getRunningProgram()
- print("Enter Password")
- write(">")
- input = read()
- req = textutils.urlEncode(key)
- req2 = textutils.urlEncode(input)
- AoD = http.get("http://208.117.11.70/ICDL/login.php?key="..req.."&pass="..req2)
- response = AoD.readLine("1")
- if response == "CORRECT" then
- print("The Password Is Correct")
- rs.setOutput("right", true)
- sleep(5)
- rs.setOutput("right", false)
- shell.run(me)
- else
- print("The Password Is Incorrect")
- sleep(3)
- shell.run(me)
- end
Add Comment
Please, Sign In to add comment