This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
TheKickstart's profile picture

Help with CCSH

Started by TheKickstart, 14 January 2017 - 03:50 PM
TheKickstart #1
Posted 14 January 2017 - 04:50 PM
I need help developing CCSH, which is the CC equivalent of SSH.
Please can someone help
Lyqyd #2
Posted 14 January 2017 - 05:01 PM
What's the issue you've run into, specifically?
TheKickstart #3
Posted 24 January 2017 - 10:01 PM
I'm having trouble with the rednet communications
H4X0RZ #4
Posted 24 January 2017 - 10:04 PM
There already is a standard for "terminal over rednet" stuff. You might look into that and try to implement it.
TheKickstart #5
Posted 24 January 2017 - 10:21 PM
NOTE : The program would need to be installed on both sides first
I need to be so you can connect to a (pocket) computer over rednet. Here a few scenarios:
  • Malware/ Startup File is on the target (pocket) computer, so you can ccsh into it to remove it
  • You can remotely run another OS on your computer over rednet
  • You can remotely code a firewolf webpage over rednet.
Here's the usage of the command:

> ccsh <id of target computer>_(e.g ccsh 79)
Here is how I want the shell to look like in ccsh

Connected to <label>(<id>) over rednet
[<id of connecting computer>@<id of target computer >(e.g. 34@79)]_

Connecting Computer : The CCSH user who is connected
Target Computer : The computer accessed over the internet
Edited on 04 February 2017 - 08:22 PM
Anavrins #6
Posted 25 January 2017 - 04:57 AM
Malware is on the target
You could've easily omitted this piece of information and got away with it, instead you admitted on your own self that your intentions were malicious, we don't support malicious programs here…
Edited on 25 January 2017 - 04:02 AM
TheOddByte #7
Posted 25 January 2017 - 08:40 PM
You could've easily omitted this piece of information and got away with it, instead you admitted on your own self that your intentions were malicious, we don't support malicious programs here…
Well technically he isn't asking for help with malware, but yeah, that piece of information would be best if he kept for himself.

OP, do you actually have any code? Or are you asking for help about creating psuedo-code? It's a bit unclear on what you mean with "problems with rednet communications".
Please clarify a bit, because in the AaP section we won't create the program for you, only help you with errors and answer your questions, "problems with rednet communications" and "I need help" is quite vague information for us if we're supposed to help you.
H4X0RZ #8
Posted 25 January 2017 - 08:56 PM
Malware is on the target
You could've easily omitted this piece of information and got away with it, instead you admitted on your own self that your intentions were malicious, we don't support malicious programs here…

I believe that it was meant as a counter-measure for malware.
TheOddByte #9
Posted 26 January 2017 - 05:14 PM
I believe that it was meant as a counter-measure for malware.
Maybe, but the way I understood it, it sounded like there was a backdoor on the target computer. But it still feels irrelevant since the OP isn't asking for help with that.
TheKickstart #10
Posted 04 February 2017 - 09:21 PM
If you desire, feel free to contribute to the project