Commit Graph

6 Commits

Author SHA1 Message Date
hfiref0x 2e5b50892b Fix signed/unsigned mismatch for specifiers in various *printf calls
The value passed to printf variation is all unsigned.
2019-01-25 10:31:41 +07:00
hfiref0x dacd3dffe1 Remove double call of SetDebugPrivileges in CreateRemoteThread_Injection
SetDebugPrivileges is not a flag, but a function. If it called once there is no point in calling it again.
2019-01-20 21:40:42 +07:00
hfiref0x 8ff8cbe432 Fixed more bugs in CreateRemoteThread_Injection routine
Fixed displaying invalid truncated pointers, another resource leak.
2019-01-18 10:14:39 +07:00
hfiref0x ce7971bbab Fix multiple bugs in CreateRemoteThread_Injection
This is a second, more complex fix for this routine. There is a multiple resource leaks and invalid VirtualFreeEx call. Note that truncated pointers in various printfs are still in place as I don't know was it intended or not.
2019-01-17 18:25:41 +07:00
hfiref0x 4b5d9a2759 Fix invalid return value check in CreateRemoteThread_Injection routine
Expression if (bStatus == NULL) is always false because it was checked before.  Thus error handling block never executed. Considering wrong valuable used.
2019-01-17 17:30:28 +07:00
LordNoteworthy ee77a07103 Move to Visual Studio 2017 2019-01-06 13:15:03 +01:00