I have done a lot of research and to hack the following program, a password cracker was the only way:
--SERVER
pass = "testpass123"
function listen()
rednet.open("right")
while true do
local event, p1, p2, p3 = os.pullEvent()
if event == "rednet_message" then
--local id, mess = rednet.receive()
if p2 == pass then
rednet.send(p1, true)
else
rednet.send(p1, false)
end
elseif event == "char" then
if p1 == "r" then
shell.run( shell.getRunningProgram() )
else
print( pass )
end
end
end
end
term.clear()
term.setCursorPos(1,1)
print("Running...")
listen()
So, can a hacker get the password apart from using a cracker? Thanks in advance.












