Skip to content

Simple one file header for hijacking dll for desired executable to do 3rd party modifying without dll injection.

License

Notifications You must be signed in to change notification settings

sneakyevil/DLL-Hijack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

DLL-Hijack

Simple one file header for hijacking dll for desired executable to do 3rd party modifying without dll injection.

Usage

#include "xxx.hpp"

int __stdcall DllMain(HMODULE m_hModule, DWORD m_dReason, void* m_pReserved)
{
    if (m_dReason == DLL_PROCESS_ATTACH)
    {
        sneakyevil_DllHijack::Initialize();
        
        // Your code...
    }
    
    return 1;
}

About

Simple one file header for hijacking dll for desired executable to do 3rd party modifying without dll injection.

Resources

License

Stars

Watchers

Forks

Languages