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

Rednet Spy [1.4]

Started by Sxw, 22 July 2012 - 03:01 AM
Sxw #1
Posted 22 July 2012 - 05:01 AM
I think there should be a way to "hack" into rednet.send so there can be a way to intercept data and possibly modify it. I am not sure of how the hacking would work but i guess you would have to figure out a "password" that could be set using rednet.send(id,msg,[pass]) and if pass was not specified then it would be the id of the recieving computer(just an idea) and people could save the encrypted message in order to brute force it. Here is a list of new functions or modifications.

>rednet.send(id,msg,pass)

>rednet.grab(id) Would grab messages from rednet sent from the id. Would return some string that can be decrypted.

>redet.recieve would not be modified.

>rednet.decrypt(msg,pass) Self-Explanitory

>rednet.encrypt(msg,pass) Would encrypt a message that can be decrypted using rednet.decrypt.
Xfel #2
Posted 22 July 2012 - 06:16 PM
well you could do that with cable-bound rednet already. Only requires a lot of work.
Noodle #3
Posted 24 July 2012 - 09:53 AM
Ehh.. Make an API!
Darky_Alan #4
Posted 24 July 2012 - 10:39 AM
Ehh.. Make an API!

Code ALL the APIs!
Noodle #5
Posted 24 July 2012 - 12:37 PM
I could do so.. Only problem really is the receiving of the messages using wireless..
Sxw #6
Posted 25 July 2012 - 04:59 AM
This could just be done by editing rednet api, im probaly not a good enoug lua coder to do this:(
Noodle #7
Posted 25 July 2012 - 06:16 AM
^ I'm working on it for the server ATM.
It's going to be awesome.
KingMachine #8
Posted 29 July 2012 - 12:34 AM
There is already an exploit for rednet. Broadcast. Once you know the id you can locate the server with GPS (or at least try). Once you get to it you can physically break into it (hopefully) and then tear apart the code to find out how to get into what you want to get into. The issue is whether or not it's secure. I don't think programming in exploits would be very nice. There are already more than a few openings here and there.
Mendax #9
Posted 29 July 2012 - 11:18 AM
Use raw peripheral methods, you can receive any messages that way…
Noodle #10
Posted 29 July 2012 - 12:18 PM
I want it to be more public on a server scale. NO PERIPHERAL.
Cloudy #11
Posted 29 July 2012 - 05:29 PM
By peripheral methods he meant the methods on the modem. However, even that wouldn't work - rednet messages are queued as an event by java code.
techy #12
Posted 31 July 2012 - 01:57 AM
Rednet Modem in promiscuous mode? Sounds like fun.
Noodle #13
Posted 01 August 2012 - 04:14 PM
Most of this I can see as an added "secret" to CC 1.X