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 c522635 commit 0daa395Copy full SHA for 0daa395
spec/lib/metasploit/framework/login_scanner/smb_spec.rb
@@ -94,7 +94,7 @@
94
0xC0000224, # => "STATUS_PASSWORD_MUST_CHANGE",
95
].each do |code|
96
it "returns a status of :correct" do
97
- exception = Rex::Proto::SMB::Exceptions::ErrorCode.new
+ exception = Rex::Proto::SMB::Exceptions::LoginError.new
98
exception.error_code = code
99
100
login_scanner.stub_chain(:simple, :login).and_raise exception
0 commit comments