See #678, handle the new range behavior
git-svn-id: file:///home/svn/framework3/trunk@7822 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
3ac51c7396
commit
f157d66625
|
@ -237,8 +237,8 @@ class Plugin::Nexpose < Msf::Plugin
|
|||
|
||||
range_inp = ::Msf::OptAddressRange.new('TEMPRANGE', [ true, '' ]).normalize(opt_ranges)
|
||||
range = ::Rex::Socket::RangeWalker.new(range_inp)
|
||||
include_range = ::Rex::Socket::RangeWalker.new(opt_addrinc) || nil
|
||||
exclude_range = ::Rex::Socket::RangeWalker.new(opt_addrexc) || nil
|
||||
include_range = opt_addrinc ? ::Rex::Socket::RangeWalker.new(opt_addrinc) : nil
|
||||
exclude_range = opt_addrexc ? ::Rex::Socket::RangeWalker.new(opt_addrexc) : nil
|
||||
|
||||
completed = 0
|
||||
total = range.num_ips
|
||||
|
|
Loading…
Reference in New Issue