Update rspecs
parent
ef4dd80e2b
commit
d8d4479d55
|
@ -45,7 +45,7 @@ RSpec.describe Metasploit::Framework::LoginScanner::MSSQL do
|
|||
allow(creds).to receive(:username)
|
||||
allow(creds).to receive(:user_file)
|
||||
allow(creds).to receive(:userpass_file)
|
||||
allow(creds).to receive(:additional_publics)
|
||||
allow(creds).to receive(:additional_publics).and_return([])
|
||||
login_scanner.cred_details = creds
|
||||
end
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ RSpec.describe Metasploit::Framework::LoginScanner::SSH do
|
|||
allow(creds).to receive(:username)
|
||||
allow(creds).to receive(:user_file)
|
||||
allow(creds).to receive(:userpass_file)
|
||||
allow(creds).to receive(:additional_publics)
|
||||
allow(creds).to receive(:additional_publics).and_return([])
|
||||
ssh_scanner.cred_details = creds
|
||||
end
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ RSpec.describe Metasploit::Framework::LoginScanner::Telnet do
|
|||
allow(creds).to receive(:username)
|
||||
allow(creds).to receive(:user_file)
|
||||
allow(creds).to receive(:userpass_file)
|
||||
allow(creds).to receive(:additional_publics)
|
||||
allow(creds).to receive(:additional_publics).and_return([])
|
||||
login_scanner.cred_details = creds
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue