Reinified

Untitled

May 6th, 2017
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. os.setComputerLabel("Network PC")
  2. decode = math.random(0, 1000000)
  3. decoding = fs.exists("disk/NKEY102838bc")
  4. term.clear()
  5. term.setCursorPos(1,1)
  6. if decoding == true then
  7. print("One time Key:", decode)
  8. end
  9. print("Reinified securePC!")
  10. print("Please enter your one-time key.")
  11. write("Key: ")
  12. if read("*") == decode then
  13. print("Correct!")
  14. break
  15. else
  16. print("Incorrect, try again")
  17. end
Advertisement
Add Comment
Please, Sign In to add comment