Add extended mode to prevent service from dying.
parent
4293500a5e
commit
0e18d69aab
|
@ -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+)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue