Sha256: 9838884aa33cf9e6b0b5456ecf4b629dd89e14bc3058af9254361de294131659

Contents?: true

Size: 380 Bytes

Versions: 6

Compression:

Stored size: 380 Bytes

Contents

module Yawast
  module Scanner
    module Plugins
      module Servers
        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
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
yawast-0.7.0.beta1 lib/scanner/plugins/servers/nginx.rb
yawast-0.6.0 lib/scanner/plugins/servers/nginx.rb
yawast-0.6.0.beta6 lib/scanner/plugins/servers/nginx.rb
yawast-0.6.0.beta5 lib/scanner/plugins/servers/nginx.rb
yawast-0.6.0.beta4 lib/scanner/plugins/servers/nginx.rb
yawast-0.6.0.beta3 lib/scanner/plugins/servers/nginx.rb