Land #6780, update is_routable? rules in autoroute post mod

bug/bundler_fix
wchen-r7 2016-04-14 14:28:44 -05:00
commit 5c4ce1746a
No known key found for this signature in database
GPG Key ID: 2384DB4EF06F730B
1 changed files with 1 additions and 3 deletions

View File

@ -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