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 ecf246b commit d7f43a2Copy full SHA for d7f43a2
spec/lib/metasploit/framework/login_scanner/base_spec.rb
@@ -19,8 +19,8 @@ def self.model_name
19
allow(creds).to receive(:user_file)
20
allow(creds).to receive(:userpass_file)
21
allow(creds).to receive(:prepended_creds).and_return([])
22
- allow(creds).to receive(:additional_privates).and_return([])
23
- allow(creds).to receive(:additional_publics).and_return([])
+ allow(creds).to receive(:additional_privates).and_return(['pass'])
+ allow(creds).to receive(:additional_publics).and_return(['user'])
24
allow(creds).to receive(:each).and_return(['user', 'pass'])
25
allow(creds).to receive(:additional_publics).and_return([])
26
creds
0 commit comments