From 2521c7c692a9944eea66153eb0d2d174016cbee9 Mon Sep 17 00:00:00 2001 From: d33tah Date: Wed, 10 Jul 2013 15:17:20 +0000 Subject: [PATCH] now that SIGPIPE is not a problem, finally add the chargen script. --- ncat/scripts/chargen.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 ncat/scripts/chargen.lua diff --git a/ncat/scripts/chargen.lua b/ncat/scripts/chargen.lua new file mode 100644 index 000000000..dcf28ba9c --- /dev/null +++ b/ncat/scripts/chargen.lua @@ -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 +