Fix failing argument spec test

GSoC/Meterpreter_Web_Console
Kevin Kirsche 2018-08-13 22:20:23 -04:00
parent 4450d34fee
commit 3783347d73
1 changed files with 8 additions and 7 deletions

View File

@ -167,7 +167,8 @@ RSpec.describe Metasploit::Framework::LoginScanner::SSH do
:key_data => key,
:config => false,
:verbose => ssh_scanner.verbosity,
:proxy => factory
:proxy => factory,
:verify_host_key => :never
}
allow(Rex::Socket::SSHFactory).to receive(:new).and_return factory
expect(Net::SSH).to receive(:start).with(