Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Super Secure Protection Pastebin Updater/Installer
- term.clear()
- term.setCursorPos(1,1)
- if term.isColor() == true then
- term.setTextColor(colors.yellow)
- end
- print("Super Secure Protection Updater/Installer")
- if term.isColor() == true then
- term.setTextColor(colors.white)
- end
- if fs.exists("kit") ~= true then
- print("WARNING: Super Secure Protection requires Kit!")
- print("Get Kit at http://git.io/kitdocs ")
- end
- getfile = http.get("https://raw.github.com/AxTo/Kit/master/examples/login.lua")
- print(" Downloaded latest build from GitHub.")
- file = fs.open("login", "w")
- file.write(getfile.readAll())
- file.close()
- print(" Saved file.")
- print(" Done!")
- print("Press ENTER to continue...")
- x = read()
- print("Rebooting!")
- sleep(1)
- os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment