Remove the stack traces from these scanners
git-svn-id: file:///home/svn/framework3/trunk@9024 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
af10ee5e57
commit
1de8e13378
|
@ -109,13 +109,14 @@ class Metasploit3 < Msf::Auxiliary
|
|||
|
||||
disconnect
|
||||
return
|
||||
rescue ::Timeout::Error
|
||||
rescue ::Interrupt
|
||||
raise $!
|
||||
rescue ::Rex::ConnectionError
|
||||
rescue ::Rex::Proto::SMB::Exceptions::LoginError
|
||||
next
|
||||
rescue ::Exception => e
|
||||
print_line("Error: #{ip} #{e.class} #{e} #{e.backtrace}")
|
||||
print_line("Error: #{ip} #{e.class} #{e}")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -315,13 +315,14 @@ class Metasploit3 < Msf::Auxiliary
|
|||
# cleanup
|
||||
disconnect
|
||||
return
|
||||
rescue ::Timeout::Error
|
||||
rescue ::Interrupt
|
||||
raise $!
|
||||
rescue ::Rex::ConnectionError
|
||||
rescue ::Rex::Proto::SMB::Exceptions::LoginError
|
||||
next
|
||||
rescue ::Exception => e
|
||||
print_line("Error: #{ip} #{e.class} #{e} #{e.backtrace}")
|
||||
print_line("Error: #{ip} #{e.class} #{e}")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -256,13 +256,14 @@ class Metasploit3 < Msf::Auxiliary
|
|||
# cleanup
|
||||
disconnect
|
||||
return
|
||||
rescue ::Timeout::Error
|
||||
rescue ::Interrupt
|
||||
raise $!
|
||||
rescue ::Rex::ConnectionError
|
||||
rescue ::Rex::Proto::SMB::Exceptions::LoginError
|
||||
next
|
||||
rescue ::Exception => e
|
||||
print_line("Error: #{ip} #{e.class} #{e} #{e.backtrace}")
|
||||
print_line("Error: #{ip} #{e.class} #{e}")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -128,10 +128,11 @@ class Metasploit3 < Msf::Auxiliary
|
|||
end
|
||||
|
||||
return
|
||||
rescue ::Timeout::Error
|
||||
rescue ::Rex::ConnectionError
|
||||
next
|
||||
rescue ::Exception => e
|
||||
print_error("#{rhost}: #{e.class} #{e} #{e.backtrace}")
|
||||
print_error("#{rhost}: #{e.class} #{e}")
|
||||
ensure
|
||||
disconnect
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue