Add extended mode to prevent service from dying.

bug/bundler_fix
Joe Vennix 2014-09-03 16:07:27 -05:00
parent 4293500a5e
commit 0e18d69aab
No known key found for this signature in database
GPG Key ID: 127B05FB3E85A2B0
2 changed files with 7 additions and 0 deletions

View File

@ -158,6 +158,11 @@ module Exploit::Remote::Gdb
read_response
end
def enable_extended_mode
send_cmd("!")
read_response
end
# Performs a handshake packet exchange
# @param features [String] the list of supported features to tell the remote
# host that the client supports (defaults to +DEFAULT_GDB_FEATURES+)

View File

@ -43,6 +43,8 @@ class Metasploit3 < Msf::Exploit::Remote
print_status "Performing handshake with gdbserver..."
handshake
enable_extended_mode
begin
print_status "Stepping program to find PC..."
gdb_data = process_info