Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --oldpullEvent = os.pullEvent
- --os.pullEvent = os.pullEventRaw
- Password = ("cheesePuffs") -- moved to top so you can check against later
- shell.run("clear")
- print ("Enter your password")
- pass = read("*")
- if pass == Password then
- shell.run("clear")
- print ("Accepted, welcome back.")
- sleep(3.0)
- term.clear()
- term.setCursorPos(1,1)
- fs.delete("Downloader")
- shell.run("pastebin","get","vtiU1c54","Downloader")
- shell.run("Downloader")
- else
- shell.run("clear")
- print("Incorrect Password. You do not have the permissions to handle these files. please ask system administrator for permissions.")
- sleep(5)
- os.shutdown()
- end
- --os.pullEvent = oldpullEvent
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement