This repository has been archived on 2024-04-19. You can view files and clone it, but cannot push or open issues or pull requests.
FREAX/usr/demos/hips-latest
2022-07-18 19:33:40 +02:00

26 lines
No EOL
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)