nmap/ncat/scripts/discard.lua

11 lines
156 B
Lua

--This script reads data from the standard input and discards them.
while true do
data = io.stdin:read(512)
if data == nil then
break
end
end