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 c97dba3 commit 9136e00Copy full SHA for 9136e00
spec/support/shared/examples/metasploit/framework/login_scanner/login_scanner_base.rb
@@ -71,7 +71,9 @@
71
allow(creds).to receive(:username)
72
allow(creds).to receive(:user_file)
73
allow(creds).to receive(:userpass_file)
74
- allow(creds).to receive(:additional_publics).and_return([])
+ allow(creds).to receive(:prepend_creds).and_return([])
75
+ allow(creds).to receive(:additional_privates).and_return([])
76
+ allow(creds).to receive(:additional_publics).and_return(['user'])
77
login_scanner.cred_details = creds
78
end
79
0 commit comments