use max instead of .sort.last

git-svn-id: file:///home/svn/framework3/trunk@11073 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Joshua Drake 2010-11-19 18:34:10 +00:00
parent 3b6edefe44
commit dbcb6d0dc4
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class Metasploit3 < Msf::Auxiliary
datastore['TIMEOUT'].to_i,
datastore['TelnetBannerTimeout'].to_i,
datastore['TelnetTimeout'].to_i
].sort.last
].max
# Check for a password-only prompt for this machine.
self.password_only = []