Sha256: 276206378207217aca16c8f81eb6c82c3e3394fa6a1a7c5573d4a077adb4c77a
Contents?: true
Size: 432 Bytes
Versions: 7
Compression:
Stored size: 432 Bytes
Contents
require File.dirname(__FILE__) + '/../lib/yawast' require File.dirname(__FILE__) + '/base' class TestScannerNginxHeaders < Minitest::Test include TestBase def test_nginx_basic_banner server = 'nginx/1.8.1' override_stdout Yawast::Scanner::Plugins::Servers::Nginx.check_banner server assert stdout_value.include?("nginx Version: #{server}"), "Unexpected banner: #{stdout_value}" restore_stdout end end
Version data entries
7 entries across 7 versions & 1 rubygems