Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Operating Systems #3

Open
manasmbellani opened this issue Aug 1, 2018 · 3 comments
Open

Operating Systems #3

manasmbellani opened this issue Aug 1, 2018 · 3 comments

Comments

@manasmbellani
Copy link

Hi ,
Can I please confirm which operating systems is this tool applicable for?

I have tested on windows 7 SP1 - but I am unable to activate closehandle. The error I get is as follows:

screen shot 2018-08-01 at 4 25 49 pm

@liuxigu
Copy link
Collaborator

liuxigu commented Sep 7, 2018

this bug has been fixed.

@manasmbellani
Copy link
Author

Hi, I am sorry - I am still getting the exact same error - same screenshot. =(

@manasmbellani
Copy link
Author

I have tried to debug the code. It appears that function "fn_enum_process_thread" is not adding eventlog threads to manipulate in the threads vector when "closehandle" param which is why we get subscript out of range error.

The code to identify the services associated with a given thread and populate the threads vector when the servicename matches "eventlog" as performed by "fn_get_service_name" is always returning FALSE - the "tagQuery.pBuffer" in lstrcmpi on line 80 in function "fn_get_service_name" is always a comparison with an empty string - this means that no eventlog related threads running under the svchost.exe process are identified.

I am not sure why tagQuery.pbuffer is empty as the code to get service tags and get service name seems ok =( . I am using Windows 7 SP1 and debugging in Visual Studio 2017

@liuxigu Your assistance in fixing or guidance would be really appreciated! Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants