Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cod committed Aug 1, 2024
1 parent a86dc9d commit 3332a27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions c/meterpreter/source/metsrv/base_dispatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ void set_transport_session_expiry(Remote* remote, Packet* packet)
}
}

DWORD create_transport_from_request(Remote* remote, Packet* packet, Transport** transportBufer)
DWORD create_transport_from_request(Remote* remote, Packet* packet, Transport** transportBuffer)
{
DWORD result = ERROR_NOT_ENOUGH_MEMORY;
Transport* transport = NULL;
Expand Down Expand Up @@ -160,7 +160,7 @@ DWORD create_transport_from_request(Remote* remote, Packet* packet, Transport**
result = ERROR_SUCCESS;
} while (0);

*transportBufer = transport;
*transportBuffer = transport;

return result;
}
Expand Down
2 changes: 1 addition & 1 deletion c/meterpreter/source/metsrv/server_transport_tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ void transport_write_tcp_config(Transport* transport, MetsrvTransportTcp* config
* @param targetProcessId ID of the process that we will be migrating into.
* @param targetProcessHandle Handle to the target process.
* @param contextSize Buffer that will receive the size of the generated context.
* @param contextBufer Buffer that will receive the generated context.
* @param contextBuffer Buffer that will receive the generated context.
* @return Indication of success or failure.
*/
static DWORD get_migrate_context_tcp(Transport* transport, DWORD targetProcessId, HANDLE targetProcessHandle, LPDWORD contextSize, LPBYTE* contextBuffer)
Expand Down

0 comments on commit 3332a27

Please sign in to comment.