use max instead of .sort.last
git-svn-id: file:///home/svn/framework3/trunk@11073 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
3b6edefe44
commit
dbcb6d0dc4
|
@ -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 = []
|
||||
|
|
Loading…
Reference in New Issue