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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user