We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 66d6ac4 + 27a517e commit 579342cCopy full SHA for 579342c
modules/auxiliary/scanner/telnet/telnet_encrypt_overflow.rb
@@ -124,11 +124,15 @@ def run_host(ip)
124
)
125
126
end
127
- rescue ::Rex::ConnectionError
+ rescue ::Rex::ConnectionError, ::Errno::ECONNRESET => e
128
+ print_error("A network issue has occurred: #{e.message}")
129
+ elog("#{e.class} #{e.message}\n#{e.backtrace * "\n"}")
130
rescue Timeout::Error
131
print_error("#{target_host}:#{rport} Timed out after #{to} seconds")
132
133
rescue ::Exception => e
134
print_error("#{target_host}:#{rport} Error: #{e} #{e.backtrace}")
135
136
ensure
137
disconnect
138
0 commit comments