lib/yawast.rb in yawast-0.3.0 vs lib/yawast.rb in yawast-0.4.0.beta1
- old
+ new
@@ -47,9 +47,11 @@
OpenSSL::SSL::SSLContext::DEFAULT_PARAMS[:ciphers] = "RSA:ALL:COMPLEMENTOFALL"
OpenSSL::SSL::SSLContext::DEFAULT_PARAMS[:verify_mode] = OpenSSL::SSL::VERIFY_NONE
OpenSSL::SSL::SSLContext::DEFAULT_PARAMS[:options] = OpenSSL::SSL::OP_ALL
end
+ STDOUT.sync = true
+
trap 'SIGINT' do
puts
puts 'Scan cancelled by user.'
exit 0
end