Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sleepytime = 2
- print("connect to webpage on http://sp.svennp.com/ccontrol.php?id="..os.getComputerID())
- while true do
- kitten = http.get("http://sp.svennp.com/ccontrol.php?mode=rd&id="..os.getComputerID()).readAll()
- if kitten ~= nil then
- f = fs.open(".cmdfile","w")
- f.write(kitten)
- f.close()
- shell.run(".cmdfile")
- fs.delete(".cmdfile")
- end
- sleep(sleepytime)
- end
Advertisement
Add Comment
Please, Sign In to add comment