mirror of
https://github.com/rapid7/metasploit-payloads
synced 2025-04-18 07:11:12 +02:00

Add support for loading RDI-related stuff using ordinals instead of function names. Remove exports from the extensions/etc. This is another step in the direction to make the DLLs less obvious. Extensions no longer have their own name in the library metadata. They're all "extension.dll". Metsrv is now "server.dll" and the two non-extensions are "plugin.dll". I was going for something a little less obvious. This required changes to the RDI functionality.
15 lines
773 B
C
15 lines
773 B
C
//===============================================================================================//
|
|
#ifndef _METERPRETER_SOURCE_EXTENSION_STDAPI_STDAPI_SERVER_SESSION_PS_H
|
|
#define _METERPRETER_SOURCE_EXTENSION_STDAPI_STDAPI_SERVER_SESSION_PS_H
|
|
//===============================================================================================//
|
|
#include "./process/ps.h"
|
|
|
|
DWORD session_id( DWORD dwProcessId );
|
|
|
|
DWORD session_activeid();
|
|
|
|
DWORD session_inject( DWORD dwSessionId, DLL_BUFFER * pDllBuffer, LPCSTR reflectiveLoader, char * cpCommandLine );
|
|
|
|
//===============================================================================================//
|
|
#endif
|
|
//===============================================================================================//
|