Fix an incredibly dumb bitflag error
This commit is contained in:
parent
ce427556a3
commit
06be53ad8e
@ -45,7 +45,7 @@ void inject(HANDLE process, const void *payload, size_t payloadSize, const wchar
|
||||
}
|
||||
|
||||
// Skip DLLs
|
||||
if ((ntHeaders->FileHeader.Characteristics | IMAGE_FILE_DLL) == IMAGE_FILE_DLL) {
|
||||
if ((ntHeaders->FileHeader.Characteristics & IMAGE_FILE_DLL) == IMAGE_FILE_DLL) {
|
||||
goto cont;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user