now that SIGPIPE is not a problem, finally add the chargen script.

This commit is contained in:
d33tah 2013-07-10 15:17:20 +00:00
parent eba4e034f7
commit 2521c7c692

11
ncat/scripts/chargen.lua Normal file
View file

@ -0,0 +1,11 @@
--chargen.lua - implements the RFC 864 CHARGEN service which basically spams
--the remote user until he decides to close the connection.
--
--CAVEAT: at the moment you need --lua-extensions to make sure this script will
--die once the connection gets closed. Otherwise, you will get a nasty infinite
--loop that will waste your CPU power until you kill the process.
while true do
print("chargen")
end