Browse Source

Generic TLS checker

v1
Aeris 7 years ago
parent
commit
9e2625d4aa
  1. 1
      bin/check_tls
  2. 11
      bin/check_tls.rb

1
bin/check_tls

@ -0,0 +1 @@
runner

11
bin/check_tls.rb

@ -0,0 +1,11 @@
#!/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
Loading…
Cancel
Save