Using Rex.sleep instead of select

bug/bundler_fix
Roberto Soares Espreto 2014-10-10 15:17:40 -03:00
parent bd315d7655
commit 291bfed47e
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class Metasploit3 < Msf::Auxiliary
connect
sock.put("\n"+cmd+"\n")
select(nil,nil,nil,0.5)
Rex.sleep(1)
resp = sock.get_once
if (resp and resp =~ /Welcome/)