Merge branch 'poisonivyscanner' of github.com:SeawolfRN/metasploit-framework into poisonivyscanner

bug/bundler_fix
SeawolfRN 2013-12-20 18:46:35 +00:00
commit bf2dc97595
1 changed files with 4 additions and 0 deletions

View File

@ -42,6 +42,10 @@ class Metasploit3 < Msf::Auxiliary
ports = Rex::Socket.portspec_crack(datastore['PORTS']) ports = Rex::Socket.portspec_crack(datastore['PORTS'])
if ports.empty?
raise Msf::OptionValidateError.new(['PORTS'])
end
while(ports.length > 0) while(ports.length > 0)
t = [] t = []
r = [] r = []