Browse Source

Generic TLS checker

master
Aeris 4 years ago
parent
commit
9e2625d4aa
2 changed files with 12 additions and 0 deletions
  1. 1
    0
      bin/check_tls
  2. 11
    0
      bin/check_tls.rb

+ 1
- 0
bin/check_tls View File

@@ -0,0 +1 @@
runner

+ 11
- 0
bin/check_tls.rb View File

@@ -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