# frozen_string_literal: true 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