i need 2 programs
1 to allow you to remotely execute shell commands
and the other to listen for download without taking control away from the shell
i am using these 2 in a computercraft hacking arena in the lualand server
not malicous in any way
just something to have fun and win prizes in the arena
need 2 programs
Started by Terra1, Mar 29 2015 01:06 AM
3 replies to this topic
#1
Posted 29 March 2015 - 01:06 AM
#2
Posted 29 March 2015 - 01:55 AM
If you want to access your shell remotely, Lyqyd's nsh is probably what you want.
Not sure what you mean by "listen for download without taking control away from the shell".
Not sure what you mean by "listen for download without taking control away from the shell".
#3
Posted 31 March 2015 - 03:59 PM
Ok ter, I know what u mean. U could run the code in a coroutine and receive the file in there then install it.
#4
Posted 01 April 2015 - 10:54 PM
GreenGene, on 31 March 2015 - 03:59 PM, said:
U could run the code in a coroutine
Basically this:
function waitForProgram()
--# Listen on some wireless channel for a computer sending the porgram
end
function runShell()
shell.run("shell") --# Runs the 'shell' program
end
parallel.waitForAny(runShell,waitForProgram) --# Runs both at the same time
3 user(s) are reading this topic
0 members, 3 guests, 0 anonymous users











