mirror of
https://github.com/nmap/nmap.git
synced 2026-08-28 04:25:15 +00:00
Print Connficker error messages always
This commit is contained in:
parent
128ced9517
commit
9948b1d7f4
1 changed files with 4 additions and 6 deletions
|
|
@ -282,12 +282,10 @@ action = function(host)
|
|||
-- Check for Conficker
|
||||
status, result = check_conficker(host)
|
||||
if(status == false) then
|
||||
if(nmap.debugging() > 0) then
|
||||
if(result == "NT_STATUS_BAD_NETWORK_NAME") then
|
||||
response = response .. "Conficker: ERROR: Network name not found (required service has crashed)\n"
|
||||
else
|
||||
response = response .. "Conficker: ERROR: " .. result .. "\n"
|
||||
end
|
||||
if(result == "NT_STATUS_BAD_NETWORK_NAME") then
|
||||
response = response .. "Conficker: ERROR: Network name not found (required service has crashed)\n"
|
||||
else
|
||||
response = response .. "Conficker: ERROR: " .. result .. "\n"
|
||||
end
|
||||
else
|
||||
if(result == PATCHED) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue