Skip to content

Commit a5ad567

Browse files
committed
Use full namespace for PACKET_TYPE_RESPONSE
1 parent e7271e3 commit a5ad567

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/msf/core/handler/reverse_http.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,8 @@ def on_request(cli, req, obj)
259259
# was generated on the fly. This means we form a new session for each.
260260

261261
# Hurl a TLV back at the caller, and ignore the response
262-
pkt = Rex::Post::Meterpreter::Packet.new(PACKET_TYPE_RESPONSE, 'core_patch_url')
262+
pkt = Rex::Post::Meterpreter::Packet.new(Rex::Post::Meterpreter::PACKET_TYPE_RESPONSE,
263+
'core_patch_url')
263264
pkt.add_tlv(Rex::Post::Meterpreter::TLV_TYPE_TRANS_URL, conn_id + "/")
264265
resp.body = pkt.to_r
265266

0 commit comments

Comments
 (0)