Fix exception handling block
parent
505de0bfc6
commit
17de7be1bf
|
@ -43,11 +43,11 @@ class Metasploit3 < Msf::Auxiliary
|
|||
each_user_pass do |user, pass|
|
||||
do_login(user, pass)
|
||||
end
|
||||
end
|
||||
rescue ::Rex::ConnectionError
|
||||
rescue ::Exception => e
|
||||
vprint_error("#{msg} #{e.to_s} #{e.backtrace}")
|
||||
end
|
||||
end
|
||||
|
||||
def omp_send(data=nil, con=true)
|
||||
begin
|
||||
|
|
|
@ -43,11 +43,11 @@ class Metasploit3 < Msf::Auxiliary
|
|||
each_user_pass do |user, pass|
|
||||
do_login(user, pass)
|
||||
end
|
||||
end
|
||||
rescue ::Rex::ConnectionError
|
||||
rescue ::Exception => e
|
||||
vprint_error("#{msg} #{e.to_s} #{e.backtrace}")
|
||||
end
|
||||
end
|
||||
|
||||
def otp_send(data=nil, con=true)
|
||||
begin
|
||||
|
|
Loading…
Reference in New Issue