Land #6780, update is_routable? rules in autoroute post mod
commit
5c4ce1746a
|
@ -162,11 +162,9 @@ class MetasploitModule < Msf::Post
|
|||
def is_routable?(route)
|
||||
if route.subnet =~ /^224\.|127\./
|
||||
return false
|
||||
elsif route.subnet =~ /[\d\.]+\.0$/
|
||||
return false
|
||||
elsif route.subnet == '0.0.0.0'
|
||||
return false
|
||||
elsif route.subnet == '255.255.255.255'
|
||||
elsif route.netmask == '255.255.255.255'
|
||||
return false
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue