From f8e6e9f46b6be691c9b6e8a1841df620b4c76292 Mon Sep 17 00:00:00 2001 From: fyodor Date: Sat, 11 Aug 2007 04:25:33 +0000 Subject: [PATCH] merge soc07 r4942 - corrected error in finger which caused truncated results --- scripts/finger.nse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/finger.nse b/scripts/finger.nse index 0db1a8efd..0e0833bc2 100644 --- a/scripts/finger.nse +++ b/scripts/finger.nse @@ -38,7 +38,7 @@ action = function(host, port) status, results = socket:receive_lines(100) socket:close() - if status then + if not(status) then return results end end