Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


USD Wiper with DoD 5220.22-M filter_list
Author
Message
RE: USD Wiper with DoD 5220.22-M #3
Looks interesting first glance. You're not closing some handles before your return statements if WriteFile() fails for hDisk though.

edit: I also don't understand some of your casts..
Code:
_snwprintf((PVOID)szPhysicalDrive, 20, L"\\??\\PhysicalDrive%lu", i);

I know this was written for C but why case to a void pointer when the type is already WCHAR *? Also not sure of the ULONG_PTR usage.
(This post was last modified: 04-28-2019, 09:13 PM by 0xDEAD10CC.)

Reply





Messages In This Thread
USD Wiper with DoD 5220.22-M - by IsBadWritePtr - 04-27-2019, 08:26 PM
RE: USD Wiper with DoD 5220.22-M - by 0xDEAD10CC - 04-28-2019, 08:06 PM
RE: USD Wiper with DoD 5220.22-M - by 0xDEAD10CC - 04-29-2019, 06:02 AM
RE: USD Wiper with DoD 5220.22-M - by 0xDEAD10CC - 04-29-2019, 06:21 AM
RE: USD Wiper with DoD 5220.22-M - by 0xDEAD10CC - 04-29-2019, 05:15 PM
RE: USD Wiper with DoD 5220.22-M - by 0xDEAD10CC - 04-29-2019, 07:49 PM
RE: USD Wiper with DoD 5220.22-M - by 0xDEAD10CC - 05-01-2019, 12:06 AM



Users browsing this thread: 1 Guest(s)