Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typo #708

Merged
merged 2 commits into from
Sep 13, 2024
Merged

typo #708

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading