Skip to content

Commit

Permalink
Land #708, Fixing typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dledda-r7 committed Sep 13, 2024
2 parents a86dc9d + 446b4d1 commit 54515f8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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_pivot_named_pipe.c
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ static DWORD server_notify(Remote* remote, LPVOID entryContext, LPVOID threadCon

serverCtx->established = TRUE;

// The current listener cotnext in the listeners tree points to the server instance that has now
// The current listener context in the listeners tree points to the server instance that has now
// become a client instance due to the new connection. Therefore we need to update the pivot tree context
// to point to the new listener on the named pipe.
PivotContext* listenerCtx = pivot_tree_find(remote->pivot_listeners, (LPBYTE)&serverCtx->pivot_id);
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 54515f8

Please sign in to comment.