ErolDude

Password shit

Jul 8th, 2013
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.93 KB | None | 0 0
  1. os.pullEvent = os.pullEventRaw
  2. print("ErolOS v1.1")
  3. term.setTextColor(16)
  4. print("Terminal in sleep mode, press any key to wake up")
  5. event, key = os.pullEvent("char")
  6. if key == c then
  7. end
  8. term.setTextColor(4)
  9. print("Welcome to the ErolCorp testing facility")
  10. os.sleep(1)
  11. print("Please enter the access code when prompted")
  12. local password = "28469"
  13. os.sleep(1)
  14. print("")
  15. print("Password:")
  16. local input = read("*")
  17. if input == password then
  18.   print("Access granted!")
  19. else
  20.   print("Access denied! Attack sequence initiated")
  21. end
  22. os.sleep(1)
  23. rs.setOutput("bottom", true)
  24. os.sleep(20)
  25. rs.setOutput("bottom", false)
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118. --This is actually eroldudes program, and he put this here as a stamp of his own work, so people do not steal his work, do not remove!
Advertisement
Add Comment
Please, Sign In to add comment