From dc40ddc38d64a67b08503581763b2a68049eb50b Mon Sep 17 00:00:00 2001 From: OJ Date: Thu, 30 Apr 2020 15:57:43 +1000 Subject: [PATCH] Rename the tcp channel open command in python --- python/meterpreter/meterpreter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/meterpreter/meterpreter.py b/python/meterpreter/meterpreter.py index fd496251..acb1d754 100644 --- a/python/meterpreter/meterpreter.py +++ b/python/meterpreter/meterpreter.py @@ -1253,7 +1253,7 @@ class PythonMeterpreter(object): (client_sock, client_addr) = channel.sock.accept() server_addr = channel.sock.getsockname() client_channel_id = self.add_channel(MeterpreterSocketTCPClient(client_sock)) - self.send_packet(tlv_pack_request('tcp_channel_open', [ + self.send_packet(tlv_pack_request('stdapi_net_tcp_channel_open', [ {'type': TLV_TYPE_CHANNEL_ID, 'value': client_channel_id}, {'type': TLV_TYPE_CHANNEL_PARENTID, 'value': channel_id}, {'type': TLV_TYPE_LOCAL_HOST, 'value': inet_pton(channel.sock.family, server_addr[0])},