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.
 
 
 
 
 
 

11 lines
361 B

#!/usr/bin/env ruby
$:.unshift File.expand_path File.join File.dirname(__FILE__), '../lib'
require 'rubygems'
require 'bundler/setup'
require 'cryptcheck'
::CryptCheck::Logger.level = (ARGV[2] || :info).to_sym
server = ::CryptCheck::Tls::TcpServer.new ARGV[0], ARGV[1]
grade = ::CryptCheck::Tls::Grade.new server
::CryptCheck::Logger.info { '' }
grade.display