#ifndef INTERCEPT_H #define INTERCEPT_H #include #include #include #include #include using namespace std ; /////////////////////// // class declaration // /////////////////////// // bool OpenTargetProcess ( const DWORD & dwPid ) ; // bool AllocateMemInTarget ( char * pszReplacementDll ) ; // bool WriteReplacementDllNameIntoTarget ( char * pszReplacementDll ) ; // bool TrackLoadLibAddress ( ) ; // bool SpawnRemoteThreadInTarget ( ) ; // bool FreeMemFromTarget ( ) ; // ////public : // bool InjectReplacementCodeintoTarget ( const DWORD & dwTargetPid, char * pszReplacementDll ) ; //} ; /* NOTE # 1 : This prototype does not address process security issues. NOTE # 2 : Rebasing in the upper 2 GB address space for system DLLs. NOTE # 3 : Does not handle unicode */ #endif // INTERCEPT_H