Skip to content

pierrehpezier/LoadLibraryFromMem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LoadLibraryFromMem

Shellcode LoadLibrary from buf

Functions exported

/*!
 * \brief
 * Loads a dll from an url and execute export by name
 * \param [in] url
 * The url of the dll
 * \param [in] functioname
 * The export name
 */
bool DownloadExecDll(char *url, char *functioname)
/*!
 * \brief
 * Loads A DLL from a string buffer
 * \param [in] buffer
 * The buffer containing a dll data
 * \param [in] length
 * The length of the buffer
 * @returns The address of the loaded dll
 */
HMODULE LoadLibraryFomMem(char *buffer, size_t length)
/*!
 * \brief
 * Gets the address of an export from a dll loaded by LoadLibraryFomMem
 * \param [in] hModule
 * The value retured by LoadLibraryFomMem
 * \param [in] lpProcName
 The export name
 * @returns The address of the export
 */
FARPROC GetProcAddressFomMem(HMODULE hModule, LPCSTR  lpProcName)

TODO

makes 32bits version works

About

Shellcode LoadLibrary from buf

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published