| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 3cadc42 commit c8f88d9
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -214,7 +214,7 @@ HANDLE WINAPI LoadRemoteLibraryR( HANDLE hProcess, LPVOID lpBuffer, DWORD dwLeng | |||
| 214 | 214 | break; | |
| 215 | 215 | ||
| 216 | 216 | // add the offset to ReflectiveLoader() to the remote library address... | |
| 217 | - lpReflectiveLoader = (LPTHREAD_START_ROUTINE)( (DWORD)lpRemoteLibraryBuffer + (DWORD)dwReflectiveLoaderOffset ); | ||
| 217 | + lpReflectiveLoader = (LPTHREAD_START_ROUTINE)( (ULONG_PTR)lpRemoteLibraryBuffer + dwReflectiveLoaderOffset ); | ||
| 218 | 218 | ||
| 219 | 219 | // create a remote thread in the host process to call the ReflectiveLoader! | |
| 220 | 220 | hThread = CreateRemoteThread( hProcess, NULL, 1024*1024, lpReflectiveLoader, lpParameter, (DWORD)NULL, &dwThreadId ); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments