Jump to content




need 2 programs


  • You cannot reply to this topic
3 replies to this topic

#1 Terra1

  • Members
  • 239 posts

Posted 29 March 2015 - 01:06 AM

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

#2 Geforce Fan

  • Members
  • 846 posts
  • LocationMissouri, United States, America, Earth, Solar System, Milky Way, Universe 42B, Life Street, Multiverse, 4th Dimension

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".

#3 GreenGene

  • Members
  • 78 posts
  • LocationMagic land, awesomeness

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 HPWebcamAble

  • Members
  • 933 posts
  • LocationWeb Development

Posted 01 April 2015 - 10:54 PM

View PostGreenGene, 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