Skip to content

Commit 15bb4d1

Browse files
committed
Fix rapid7#4243, regression introduced by commit 6e80481
1 parent e5cd88a commit 15bb4d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/multi/misc/java_jdwp_debugger.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def create_packet(cmdsig, data="")
173173

174174
# Reads packet response for JDWP protocol
175175
def read_reply(timeout = default_timeout)
176-
response = sock.get_once(-1, timeout)
176+
response = sock.get(timeout)
177177
fail_with(Failure::TimeoutExpired, "#{peer} - Not received response") unless response
178178
pktlen, id, flags, errcode = response.unpack('NNCn')
179179
response.slice!(0..10)

0 commit comments

Comments
 (0)