From c56c8cb19159068765d26c97392a0c491aa76322 Mon Sep 17 00:00:00 2001 From: Jonathan Claudius Date: Fri, 12 May 2017 12:10:52 -0400 Subject: [PATCH 1/2] Bump for 0.0.20 release --- lib/ssh_scan/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ssh_scan/version.rb b/lib/ssh_scan/version.rb index 711d7ab4..9f692903 100644 --- a/lib/ssh_scan/version.rb +++ b/lib/ssh_scan/version.rb @@ -1,3 +1,3 @@ module SSHScan - VERSION = '0.0.19' + VERSION = '0.0.20' end From a8584839eb31640475df31c58c8dd765d2284cc4 Mon Sep 17 00:00:00 2001 From: Jonathan Claudius Date: Fri, 12 May 2017 12:13:49 -0400 Subject: [PATCH 2/2] Disable gem update checks --- bin/ssh_scan | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/bin/ssh_scan b/bin/ssh_scan index cbead01a..281cbe3c 100755 --- a/bin/ssh_scan +++ b/bin/ssh_scan @@ -226,25 +226,25 @@ unless File.exist?(options["policy"]) end # Check to see if we're running the latest released version -if !options["suppress_update_status"] - update = SSHScan::Update.new - if update.newer_gem_available? - options["logger"].warn( - "You're NOT using the latest version of ssh_scan, try 'gem update \ -ssh_scan' to get the latest" - ) - else - if update.errors.any? - update.errors.each do |error| - options["logger"].error(error) - end - else - options["logger"].info( - "You're using the latest version of ssh_scan #{SSHScan::VERSION}" - ) - end - end -end +#if !options["suppress_update_status"] +# update = SSHScan::Update.new +# if update.newer_gem_available? +# options["logger"].warn( +# "You're NOT using the latest version of ssh_scan, try 'gem update \ +#ssh_scan' to get the latest" +# ) +# else +# if update.errors.any? +# update.errors.each do |error| +# options["logger"].error(error) +# end +# else +# options["logger"].info( +# "You're using the latest version of ssh_scan #{SSHScan::VERSION}" +# ) +# end +# end +#end # Limit scope of fingerprints DB to (per scan) if options["fingerprint_database"] && File.exists?(options["fingerprint_database"])