We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0e18d69 + b6e0459 commit 671c7f1Copy full SHA for 671c7f1
lib/msf/core/exploit/gdb.rb
@@ -39,7 +39,7 @@ def send_ack
39
# Reads an ACK packet from the wire
40
# @raise [BadAckError] if a bad ACK is received
41
def read_ack
42
- unless sock.get_once == '+'
+ unless sock.get_once(1) == '+'
43
raise BadAckError
44
end
45
vprint_status('Received ack...')
@@ -167,7 +167,6 @@ def enable_extended_mode
167
# @param features [String] the list of supported features to tell the remote
168
# host that the client supports (defaults to +DEFAULT_GDB_FEATURES+)
169
def handshake(features=GDB_FEATURES)
170
- send_ack
171
send_cmd features
172
read_response # lots of flags, nothing interesting
173
0 commit comments