Skip to content

Commit c59f212

Browse files
committed
Removes binding.pry
1 parent 1f396a0 commit c59f212

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/rex/post/meterpreter/client_core.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -645,8 +645,6 @@ def migrate(target_pid, writable_dir = nil, opts = {})
645645
raise RuntimeError, 'Cannot migrate into current process', caller
646646
end
647647

648-
binding.pry
649-
650648
t = get_current_transport
651649

652650
migrate_payload = generate_migrate_payload(target_process, t[:url], client.payload_uuid)
@@ -674,9 +672,7 @@ def migrate(target_pid, writable_dir = nil, opts = {})
674672
# Send the migration request. Timeout can be specified by the caller, or set to a min
675673
# of 60 seconds.
676674
timeout = [(opts[:timeout] || 0), 60].max
677-
response_recv = client.send_request(request, timeout)
678-
puts response_recv
679-
binding.pry
675+
client.send_request(request, timeout)
680676

681677
# Post-migration the session doesn't have encryption any more.
682678
# Set the TLV key to nil to make sure that the old key isn't used

0 commit comments

Comments
 (0)