Skip to content

Commit fb9a054

Browse files
committed
Fix rspec
The login URi is user-configurable so we shouldn't dictate this anymore.
1 parent f4e512e commit fb9a054

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/lib/metasploit/framework/login_scanner/smh_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
before :each do
5656
allow_any_instance_of(Rex::Proto::Http::Client).to receive(:send_recv) do |cli, req|
5757

58-
if req.opts['uri'] && req.opts['uri'].include?('/proxy/ssllogin') &&
58+
if req.opts['uri'] &&
5959
req.opts['vars_post'] &&
6060
req.opts['vars_post']['user'] &&
6161
req.opts['vars_post']['user'] == username &&

0 commit comments

Comments
 (0)