Jump to content




Modem hacker!


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

#1 FuuuAInfiniteLoop(F.A.I.L)

  • Banned
  • 435 posts
  • LocationThe left part of this post

Posted 11 February 2013 - 09:40 AM

master computer with modem on back and monitor on top.

local modem1 = peripheral.wrap("back")
monitor = peripheral.wrap("top")
term.redirect(monitor)
while true do
local messageArguments = {os.pullEvent("modem_message")}
for i,v in pairs(messageArguments) do
  print(v)
end
end

computers that receive the messages (needs to be configured):
sides = {"top", "back", "left", "right"}
channelfrom1 = 2
channelto1 = 129
channelfrom4 = 130
channelto4 = 258
channelfrom3 = 259
channelto3 = 387
channelfrom2 = 388
channelto2 = 516
local modem1 = peripheral.wrap("top")
local modem2 = peripheral.wrap("back")
local modem3 = peripheral.wrap("left")
local modem4 = peripheral.wrap("right")
local modemsend = peripheral.wrap("bottom")
for i=channelfrom1, channelto1 do
modem1.open(i)
end
for i=channelfrom2, channelto2 do
modem2.open(i)
end
for i=channelfrom3, channelto3 do
modem3.open(i)
end
for i=channelfrom4, channelto4 do
modem4.open(i)
end
modemsend.open(1)
while true do
local messageArguments = {os.pullEvent("modem_message")}
for i,v in pairs(messageArguments) do
  modem.transmit(1, 1, v)
end
end


#2 anonimo182

  • Members
  • 252 posts
  • LocationIn the universe

Posted 11 February 2013 - 10:13 AM

Is this a hack? Is more kind of a repeater...

#3 FuuuAInfiniteLoop(F.A.I.L)

  • Banned
  • 435 posts
  • LocationThe left part of this post

Posted 11 February 2013 - 03:46 PM

View Postanonimo182, on 11 February 2013 - 10:13 AM, said:

Is this a hack? Is more kind of a repeater...
It search with multiples computers on every chanel and reply then to channel 1 so the master computer can display them, is more and interceptor

#4 anonimo182

  • Members
  • 252 posts
  • LocationIn the universe

Posted 11 February 2013 - 04:18 PM

Well, so many holes in it... The most important is in the main computer, you didn't open channel 1

#5 1lann

  • Members
  • 516 posts
  • LocationSeattle

Posted 11 February 2013 - 04:39 PM

View Postanonimo182, on 11 February 2013 - 04:18 PM, said:

Well, so many holes in it... The most important is in the main computer, you didn't open channel 1
He did open, near the end right before the while loop: modemsend.open(1)
also doesn't normal rednet commands work too in 1.5? Like rednet.send? Does this intercept rednet.send too?

#6 Dlcruz129

    What's a Lua?

  • Members
  • 1,423 posts

Posted 11 February 2013 - 05:06 PM

View Post1lann, on 11 February 2013 - 04:39 PM, said:

View Postanonimo182, on 11 February 2013 - 04:18 PM, said:

Well, so many holes in it... The most important is in the main computer, you didn't open channel 1
He did open, near the end right before the while loop: modemsend.open(1)
also doesn't normal rednet commands work too in 1.5? Like rednet.send? Does this intercept rednet.send too?

He's talking about the master computer (first code block)

#7 1lann

  • Members
  • 516 posts
  • LocationSeattle

Posted 11 February 2013 - 06:44 PM

View PostDlcruz129, on 11 February 2013 - 05:06 PM, said:

View Post1lann, on 11 February 2013 - 04:39 PM, said:

View Postanonimo182, on 11 February 2013 - 04:18 PM, said:

Well, so many holes in it... The most important is in the main computer, you didn't open channel 1
He did open, near the end right before the while loop: modemsend.open(1)
also doesn't normal rednet commands work too in 1.5? Like rednet.send? Does this intercept rednet.send too?

He's talking about the master computer (first code block)
Ahhh right ok, I see.





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users