Use full namespace for PACKET_TYPE_RESPONSE

bug/bundler_fix
OJ 2015-07-02 08:03:39 +10:00
parent e7271e3c04
commit a5ad56754f
1 changed files with 2 additions and 1 deletions

View File

@ -259,7 +259,8 @@ protected
# was generated on the fly. This means we form a new session for each.
# Hurl a TLV back at the caller, and ignore the response
pkt = Rex::Post::Meterpreter::Packet.new(PACKET_TYPE_RESPONSE, 'core_patch_url')
pkt = Rex::Post::Meterpreter::Packet.new(Rex::Post::Meterpreter::PACKET_TYPE_RESPONSE,
'core_patch_url')
pkt.add_tlv(Rex::Post::Meterpreter::TLV_TYPE_TRANS_URL, conn_id + "/")
resp.body = pkt.to_r