Update ShellcodeRDI.c

This commit is contained in:
Nick Landers
2022-05-10 09:54:08 -06:00
committed by GitHub
parent e32abbe82e
commit 9bc5c58a30
+2 -2
View File
@@ -422,7 +422,7 @@ ULONG_PTR LoadDLL(PBYTE pbModule, DWORD dwFunctionHash, LPVOID lpUserData, DWORD
}
}
if (sleep & dwFlags & SRDI_OBFUSCATEIMPORTS && importCount > 1) {
if (sleep && dwFlags & SRDI_OBFUSCATEIMPORTS && importCount > 1) {
pSleep(sleep * 1000);
}
}
@@ -600,4 +600,4 @@ ULONG_PTR LoadDLL(PBYTE pbModule, DWORD dwFunctionHash, LPVOID lpUserData, DWORD
// Atempt to return a handle to the module
return baseAddress;
}
}