1
mirror of https://github.com/rapid7/metasploit-payloads synced 2024-12-08 23:33:07 +01:00

Adjust TLV lable in POSIX to match updates

This commit is contained in:
OJ 2016-12-08 16:46:50 +10:00
parent e42ef7a17e
commit 4f0c9407d2
No known key found for this signature in database
GPG Key ID: D5DC61FB93260597

View File

@ -31,7 +31,7 @@ remote_request_core_migrate(Remote *remote, Packet *packet)
// Get the target process architecture to inject into
l.arch = packet_get_tlv_value_uint(packet, TLV_TYPE_MIGRATE_ARCH);
// Get the length of the library buffer
l.length = packet_get_tlv_value_uint(packet, TLV_TYPE_MIGRATE_LEN);
l.length = packet_get_tlv_value_uint(packet, TLV_TYPE_MIGRATE_PAYLOAD_LEN);
// Receive the actual migration library buffer
l.data = packet_get_tlv_value_string(packet, TLV_TYPE_MIGRATE_PAYLOAD);
// Get the library entry point