We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8e3ff0 commit 0ab3645Copy full SHA for 0ab3645
spec/lib/metasploit/framework/login_scanner/glassfish_spec.rb
@@ -315,6 +315,11 @@
315
it { is_expected.to start_with("3") }
316
end
317
318
+ context 'with non-open-source header' do
319
+ let(:server_header) { "Oracle GlassFish Server 3.1.2.3" }
320
+ it { is_expected.to start_with("3") }
321
+ end
322
+
323
context 'with 2.1 header' do
324
let(:server_header) { "Sun GlassFish Enterprise Server v2.1" }
325
it { is_expected.to start_with("2") }
0 commit comments