Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos(1, 1)
- shell.run("rm /AntiVirus")
- shell.run("pastebin get EeaFRxjV AntiVirus")
- term.clear()
- term.setCursorPos(1, 1)
- print("AntiVirus Softwere up to date!")
- shell.run("cd /")
- file1 = fs.exists("AV")
- if file1 == true then
- fs.delete("AV")
- end
- file = fs.exists("startup")
- file2 = fs.exists("uninstall")
- if file == true and file2 == false then
- print("Warning Virus detected! type y/n to delete virus")
- while true do
- input = read("")
- if input == "y" then
- fs.delete("startup")
- print("Deleteing all virus files and bootloaders")
- textutils.slowPrint("::::::::::::::::::::::::::::::::::")
- os.sleep(2)
- print("Done")
- os.sleep(2)
- term.clear()
- term.setCursorPos(1, 1)
- print("Re installing CraftOS 1.7 Bootloader")
- textutils.slowPrint("::::::::::::::::::::::::::::::::::")
- os.sleep(2)
- print("Done")
- print("Antivirus Sucessfull")
- break
- else
- break
- end
- end
- else
- if file2 == true then
- print("OS uninstaller Found y/n to run rm to remove uninstaller and startup")
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement