File tree Expand file tree Collapse file tree
lib/msf/core/exploit/remote/http_server/relay/ntlm Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -219,7 +219,6 @@ def handle_type3(parsed_type3)
219219 service_name : 'HTTP'
220220 )
221221
222- # Use the extracted identity here
223222 if identity . blank?
224223 logger . print_status ( "Anonymous Identity - Successfully authenticated against relay target #{ @relayed_connection . target . ip } " )
225224 @relayed_connection . disconnect! if @relayed_connection
@@ -235,7 +234,6 @@ def handle_type3(parsed_type3)
235234 @relayed_connection = nil
236235 end
237236
238- # 2. Pass the identity down to the target list tracker
239237 complete_current_relay_attempt ( is_success : relay_succeeded , identity : identity )
240238 relay_completed = true
241239
@@ -244,7 +242,6 @@ def handle_type3(parsed_type3)
244242 advance_to_next_target_via_redirect
245243 rescue StandardError => e
246244 logger . print_error ( "Relaying type 3 message to target #{ @current_target . ip } failed: #{ e . message } " )
247- # 3. Ensure the identity is passed even if it crashes
248245 complete_current_relay_attempt ( is_success : false , identity : identity ) unless relay_completed
249246 end
250247
You can’t perform that action at this time.
0 commit comments