mirror of
https://github.com/rapid7/metasploit-payloads
synced 2025-02-16 00:24:29 +01:00
Land #708, Fixing typo
This commit is contained in:
commit
54515f877a
@ -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;
|
||||
@ -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;
|
||||
}
|
||||
|
@ -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);
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user