26 lines
587 B
Text
26 lines
587 B
Text
|
local tTimer = os.startTimer(0.5)
|
||
|
|
||
|
for time=1,30 do
|
||
|
local myEvent = { os.pullEvent("timer") }
|
||
|
if myEvent[2] == tTimer then
|
||
|
local eta = 30 - time
|
||
|
term.setCursorPos(1,18)
|
||
|
if eta < 10 then
|
||
|
printError("TRACE: 0"..tostring(eta))
|
||
|
else
|
||
|
printError("TRACE: "..tostring(eta))
|
||
|
end
|
||
|
sleep(0.1)
|
||
|
tTimer = os.startTimer(0.5)
|
||
|
end
|
||
|
end
|
||
|
term.clear()
|
||
|
term.setCursorPos(4,9)
|
||
|
printError(">>> TRACEROUTE COMPLETE")
|
||
|
sleep(0.5)
|
||
|
term.setCursorPos(4,10)
|
||
|
printError(">>> IP FOUND")
|
||
|
sleep(0.5)
|
||
|
term.setCursorPos(4,11)
|
||
|
printError(">>> INITIATING ACTIVE INTRUSION PREVENTION")
|
||
|
sleep(0.5)
|