1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-12 16:36:34 +00:00

Added a change to eliminate possible false negatives

This commit is contained in:
ron
2009-04-01 12:23:21 +00:00
parent f157387be1
commit dde55ed602

View File

@@ -194,7 +194,8 @@ function check_conficker(host)
if(status == false) then
if(string.find(netpathcanonicalize_result, "INVALID_NAME")) then
return true, CLEAN
elseif(string.find(netpathcanonicalize_result, "UNKNOWN_57") ~= nil and error_result['can_path'] == 0x5c450000) then
--elseif(string.find(netpathcanonicalize_result, "UNKNOWN_57") ~= nil and error_result['can_path'] == 0x5c450000) then
elseif(string.find(netpathcanonicalize_result, "UNKNOWN_57") ~= nil) then
return true, INFECTED
else
return false, "Unexpected error (couldn't determine infection): " .. netpathcanonicalize_result