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 0b3a556 commit 563cb6fCopy full SHA for 563cb6f
spec/lib/metasploit/framework/login_scanner/vnc_spec.rb
@@ -31,7 +31,7 @@
31
32
it 'returns a failed result when authentication fails' do
33
expect_any_instance_of(Rex::Proto::RFB::Client).to receive(:handshake).and_return true
34
- expect_any_instance_of(Rex::Proto::RFB::Client).to receive(:authenticate).with(private).and_return false
+ expect_any_instance_of(Rex::Proto::RFB::Client).to receive(:authenticate_with_type).with(nil,nil,private).and_return false
35
result = login_scanner.attempt_login(test_cred)
36
expect(result.status).to eq Metasploit::Model::Login::Status::INCORRECT
37
end
0 commit comments