Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C 

NtQueryDirectoryFile doesn't include one file in every folder?

Hey guys, So currently I'm trying to hook NtQueryDirectoryFile in explorer to hide files, it works but the problem is in every folder, one file dosen't get included in the list of files in the returned buffer of the original function, but my hook code doesnt have problem i am traversing the entire returned linked list so i think its actually meant to be like this but i could be wrong

maybe before this another function is called and gets the first file then calls NtQueryDirectoryFile? i couldnt find anything useful on the internet about this


also I'm currently only hooking the FileInformationClass = 37, meaning the returned structure is PFILE_ID_BOTH_DIR_INFORMATION, but this is the only one that seems to be relevant, but i could be wrong, there are 9-10 more classes but the microsoft's great documentation isn't very clear


so anyone has any clue on this?


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C] by pokerJan 8, 2021 04:29 PM 0 146 Jan 8, 2021 04:29 PM
Last Post: poker
[Python] by DcayyDec 1, 2018 03:37 AM 3 175 Dec 1, 2018 03:37 AM
Last Post: Lycosidae024
[Shell] by DOSuser2018Nov 28, 2018 01:00 PM 13 459 Nov 28, 2018 01:00 PM
Last Post: iTHX