Skip to content

Commit

Permalink
le trolle
Browse files Browse the repository at this point in the history
  • Loading branch information
exploitmafia authored Apr 29, 2021
1 parent 9421d6d commit 1e5d673
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sfi/SingleFileInjector/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ BOOL WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLin
COMDLG_FILTERSPEC pFileType[] = {
L"Injectable Modules", L"*.dll"
};
if (CoCreateInstance(CLSID_FileOpenDialog, NULL, CLSCTX_ALL, IID_IFileOpenDialog, (void**)(&pFileDialog)) >= 0) {
if (CoCreateInstance(CLSID_FileOpenDialog, NULL, CLSCTX_ALL, IID_IFileOpenDialog, (PVOID*)(&pFileDialog)) >= 0) {
pFileDialog->SetFileTypes(1, pFileType);
if (pFileDialog->Show(NULL) >= 0) {
IShellItem* pDLL;
Expand Down Expand Up @@ -62,4 +62,4 @@ BOOL WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLin
free(pNTOpenFileOriginal);
CloseHandle(hProc);
return TRUE;
}
}

0 comments on commit 1e5d673

Please sign in to comment.