Fix exception handling block

unstable
Vlatko Kosturjak 2012-11-24 00:31:32 +01:00
parent 505de0bfc6
commit 17de7be1bf
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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