您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

check_https.rb 249B

123456789
  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::Https.analyze *args