Skip to content

Commit 926db59

Browse files
committed
credential doesn't exist in this context
1 parent ef6bf54 commit 926db59

File tree

1 file changed

+1
-1
lines changed
  • lib/metasploit/framework/login_scanner

1 file changed

+1
-1
lines changed

lib/metasploit/framework/login_scanner/http.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ def send_request(opts)
224224
configure_http_client(cli)
225225

226226
if realm
227-
cli.set_config('domain' => credential.realm)
227+
cli.set_config('domain' => realm)
228228
end
229229

230230
begin

0 commit comments

Comments
 (0)