mirror of
https://github.com/nmap/nmap.git
synced 2025-12-31 20:09:02 +00:00
merging in the --lua-exec feature for ncat.
This commit is contained in:
13
ncat/test/toupper.lua
Normal file
13
ncat/test/toupper.lua
Normal file
@@ -0,0 +1,13 @@
|
||||
--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
|
||||
Reference in New Issue
Block a user