Skip to content

Instantly share code, notes, and snippets.

View mr-r3bot's full-sized avatar
😋
Happy

Quang Vo mr-r3bot

😋
Happy
View GitHub Profile
@mr-r3bot
mr-r3bot / get_proc_address.c
Created May 25, 2024 09:35
Customized GetProcAddress and GetModuleHandle and handle redirected function with API hashing
UINT32 HashStringJenkinsOneAtATime32BitA(_In_ PCHAR String)
{
SIZE_T Index = 0;
UINT32 Hash = 0;
SIZE_T Length = lstrlenA(String);
while (Index != Length)
{
Hash += String[Index++];
Hash += Hash << INITIAL_SEED;