Skip to content

Commit

Permalink
Adjust TLV lable in POSIX to match updates
Browse files Browse the repository at this point in the history
  • Loading branch information
OJ committed Dec 8, 2016
1 parent e42ef7a commit 4f0c940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c/meterpreter/source/common/arch/posix/base_dispatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4f0c940

Please sign in to comment.