1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-03 05:09:14 +00:00

Added check to p2p-conficker to prevent it from running against ipv6.

This commit is contained in:
patrik
2012-06-11 14:38:57 +00:00
parent 106c529dd6
commit 8fdda62255

View File

@@ -102,6 +102,9 @@ local mode_flags =
---For a hostrule, simply use the 'smb' ports as an indicator, unless the user overrides it
hostrule = function(host)
if ( nmap.address_family() ~= 'inet' ) then
return false
end
if(smb.get_port(host) ~= nil) then
return true
elseif(nmap.registry.args.checkall == "true" or nmap.registry.args.checkall == "1") then