mirror of
https://github.com/nmap/nmap.git
synced 2025-12-26 09:29:01 +00:00
14 lines
197 B
Lua
14 lines
197 B
Lua
--Emulates the RFC 862 echo service, behaving like Unix's "cat" tool.
|
|
|
|
while true do
|
|
|
|
data = io.stdin:read(1024)
|
|
|
|
if data == nil then
|
|
break
|
|
end
|
|
|
|
io.write(data:upper())
|
|
|
|
end
|