Skip to content

Commit f0cd1c3

Browse files
author
bararchy
committed
Fixed Ctrl+C not responding mid scan
1 parent 39b3b74 commit f0cd1c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sslscanner.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def scan(server, port)
143143
to_text_file(result)
144144
end
145145
end
146-
rescue OpenSSL::SSL::SSLError, Errno::ECONNRESET, Errno::ETIMEDOUT, SocketError, Exception => e
146+
rescue OpenSSL::SSL::SSLError, Errno::ECONNRESET, Errno::ETIMEDOUT, SocketError => e
147147
if @debug
148148
puts e.message
149149
puts e.backtrace.join "\n"

0 commit comments

Comments
 (0)