Sha256: ee2552777492bd98d519f56ca39ea40f79229be298d04666ccbdd453f693963a

Contents?: true

Size: 290 Bytes

Versions: 22

Compression:

Stored size: 290 Bytes

Contents

module Yawast
  module Scanner
    class Nginx
      def self.check_banner(banner)
        #don't bother if this doesn't include nginx
        return unless banner.include? 'nginx/'

        Yawast::Utilities.puts_warn "nginx Version: #{banner}"
        puts ''
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
yawast-0.6.0.beta2 lib/scanner/nginx.rb
yawast-0.6.0.beta1 lib/scanner/nginx.rb
yawast-0.5.2 lib/scanner/nginx.rb
yawast-0.5.1 lib/scanner/nginx.rb
yawast-0.5.1.beta1 lib/scanner/nginx.rb
yawast-0.5.0 lib/scanner/nginx.rb
yawast-0.5.0.beta8 lib/scanner/nginx.rb
yawast-0.5.0.beta7 lib/scanner/nginx.rb
yawast-0.5.0.beta6 lib/scanner/nginx.rb
yawast-0.5.0.beta5 lib/scanner/nginx.rb
yawast-0.5.0.beta4 lib/scanner/nginx.rb
yawast-0.5.0.beta3 lib/scanner/nginx.rb
yawast-0.5.0.beta2 lib/scanner/nginx.rb
yawast-0.5.0.beta1 lib/scanner/nginx.rb
yawast-0.4.0 lib/scanner/nginx.rb
yawast-0.4.0.beta5 lib/scanner/nginx.rb
yawast-0.4.0.beta4 lib/scanner/nginx.rb
yawast-0.4.0.beta3 lib/scanner/nginx.rb
yawast-0.4.0.beta2 lib/scanner/nginx.rb
yawast-0.4.0.beta1 lib/scanner/nginx.rb