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