RemoteDllLoader Class Reference
Allows injecting DLLs into remote processes.
More...
#include <loader.h>
List of all members.
|
Public Member Functions |
| RemoteDllLoader (HINSTANCE hDll, bool FreeLibraryAfterInit=true) |
| Initializes the object and stores the path for the DLL to be loaded in remote processes.
|
| ~RemoteDllLoader () |
HANDLE | InitiateDLLLoading (unsigned PID, DWORD *pThreadID=NULL) |
| Starts remote DLL loading and returns the handle to the remote thread.
|
HANDLE | InitiateDLLUnloading (unsigned PID, bool UseShortName=true, DWORD *pThreadID=NULL) |
| Starts DLL unloading and returns a handle to the created remote thread.
|
HINSTANCE | FindLibraryInProcess (unsigned PID, bool UseShortName=true) |
| Finds a library among the libraries loaded into a remote process.
|
Static Public Member Functions |
static ULONGLONG | GetRemoteProcAddress (unsigned PID, TCHAR *pDllName, char *pFuncName) |
static int | GetRemoteCommandLineW (unsigned PID, wchar_t *pCmdLine, size_t MaxNameLength) |
Private Member Functions |
wchar_t * | GetDllName (bool ShortName) |
Private Attributes |
TCHAR | m_DllName [MAX_PATH] |
Detailed Description
Allows injecting DLLs into remote processes.
Definition at line 14 of file loader.h.
Constructor & Destructor Documentation
RemoteDllLoader::RemoteDllLoader |
( |
HINSTANCE |
hDll, |
|
|
bool |
FreeLibraryAfterInit = true | |
|
) |
| | [inline] |
Initializes the object and stores the path for the DLL to be loaded in remote processes.
Definition at line 36 of file loader.h.
RemoteDllLoader::~RemoteDllLoader |
( |
|
) |
[inline] |
Member Function Documentation
HINSTANCE RemoteDllLoader::FindLibraryInProcess |
( |
unsigned |
PID, |
|
|
bool |
UseShortName = true | |
|
) |
| | [inline] |
Finds a library among the libraries loaded into a remote process.
Definition at line 109 of file loader.h.
wchar_t* RemoteDllLoader::GetDllName |
( |
bool |
ShortName |
) |
[inline, private] |
static int RemoteDllLoader::GetRemoteCommandLineW |
( |
unsigned |
PID, |
|
|
wchar_t * |
pCmdLine, |
|
|
size_t |
MaxNameLength | |
|
) |
| | [inline, static] |
static ULONGLONG RemoteDllLoader::GetRemoteProcAddress |
( |
unsigned |
PID, |
|
|
TCHAR * |
pDllName, |
|
|
char * |
pFuncName | |
|
) |
| | [inline, static] |
HANDLE RemoteDllLoader::InitiateDLLLoading |
( |
unsigned |
PID, |
|
|
DWORD * |
pThreadID = NULL | |
|
) |
| | [inline] |
Starts remote DLL loading and returns the handle to the remote thread.
Definition at line 61 of file loader.h.
HANDLE RemoteDllLoader::InitiateDLLUnloading |
( |
unsigned |
PID, |
|
|
bool |
UseShortName = true , |
|
|
DWORD * |
pThreadID = NULL | |
|
) |
| | [inline] |
Starts DLL unloading and returns a handle to the created remote thread.
Definition at line 91 of file loader.h.
Member Data Documentation
The documentation for this class was generated from the following file:
- E:/PROJECTS/cvsed/mixed/VIRTUA~1/kdclient/loader.h