You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

check_smtp.rb 257B

12345678910
  1. #!/usr/bin/env ruby
  2. $:.unshift File.expand_path File.join File.dirname(__FILE__), '../lib'
  3. require 'rubygems'
  4. require 'bundler/setup'
  5. require 'cryptcheck'
  6. args, port = ARGV
  7. args = [args, port] if port
  8. hosts = ::CryptCheck::Tls::Smtp.analyze *args
  9. ap hosts