Use Rex::ThreadSafe.select
parent
a0eef3880a
commit
2707b3b402
|
@ -158,7 +158,7 @@ class Metasploit3 < Msf::Auxiliary
|
||||||
version = nil
|
version = nil
|
||||||
begin
|
begin
|
||||||
loop do
|
loop do
|
||||||
readable, _, _ = IO.select([client, server])
|
readable, _, _ = Rex::ThreadSafe.select([client, server])
|
||||||
|
|
||||||
readable.each do |r|
|
readable.each do |r|
|
||||||
case r
|
case r
|
||||||
|
|
Loading…
Reference in New Issue