From cf73d9eb0375cc8a22269eb1876265325072a6c7 Mon Sep 17 00:00:00 2001 From: ron Date: Tue, 31 Mar 2009 15:18:03 +0000 Subject: [PATCH] Fixed a bug where every host showed up as 'infected'.. oops\! --- scripts/smb-check-vulns.nse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/smb-check-vulns.nse b/scripts/smb-check-vulns.nse index 824563972..715998349 100644 --- a/scripts/smb-check-vulns.nse +++ b/scripts/smb-check-vulns.nse @@ -296,7 +296,7 @@ action = function(host) response = response .. "Conficker: ERROR: " .. result .. "\n" end else - if(result == PATCHED) then + if(result == CLEAN) then response = response .. "Conficker: Likely CLEAN\n" else response = response .. "Conficker: Likely INFECTED\n"