From 5083b405276890b58547d3dd191739eeae9814fb Mon Sep 17 00:00:00 2001 From: d33tah Date: Tue, 10 Sep 2013 23:24:09 +0000 Subject: [PATCH] Make the script detect \r\n correctly. --- ncat/scripts/httpd.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ncat/scripts/httpd.lua b/ncat/scripts/httpd.lua index 63af869e4..825f85e29 100644 --- a/ncat/scripts/httpd.lua +++ b/ncat/scripts/httpd.lua @@ -293,7 +293,7 @@ end while true do input = read_line() - if input == "" then + if input == "" or input == "\r" then break end end