Skip to content

Commit 3f061ce

Browse files
committed
Comments
1 parent 0bf2ddb commit 3f061ce

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

lib/msf/core/exploit/remote/http_server/relay/ntlm/server_client.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)