-
Notifications
You must be signed in to change notification settings - Fork 127
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
C Sample #20
Comments
Hi. Pure C sample no but there are C++ ones. |
Thank you @mxmauro I am looking at the CTest sample. Command line parameters state that there is an option to add a Custom handler for each hook:
Is there a sample for this custom handler? Regards, |
Hi @sefai, yes you have RegistryPlugin sample. On C# you have Registry and FilePlugin. You can use them on CTest too. |
@mxmauro I am sorry, but I couldn't understand what that plugin is doing. I want to change the returned value (an _out parameter) from a kernel32 method call. How can I do this? Is there any guide or documentation that I can read so that I will stop distracting you? Regards, |
@mxmauro OK, I am making progress, I successfully changed the parameter. Now, I am trying to store some value on PreCall and use that value on PostCall. I see that there is WriteIntercallData and ReadIntercallData for that purpose, but I couldn't find any samples on how to use them. Can you help? PS: By the way, the from at address http://forum.nektra.com/forum/ seems to be down. I can only search on it using Google Cache. Are you guys aware of it? Regards, |
@bo3b I will look into it. |
Awesome, thank you for responding. I was worried that you had abandoned Deviare. |
nektra forum is still has the issue [SQL ERROR as above mentioned]. could anybody fix the issue, please? Could you please provide C++ sample for custom dll (INktSpyMgr::LoadCustomDll) with functions exported and how to call & pass the string parameter in C++ client? Currently I did the following: custom DLL: exported function in the client loaded the dll, (I can see load and unload events from LogPrint()), calling like, But this one not working. If I export function without parameters, I can call the function and see the message box from target process. Thanks. |
Could anybody please reply? |
Hi @vlucky, You must provide a
And use SafeArray apis to store the values in the array before calling |
Thanks @mxmauro , might be dumb question, but can I pass string too using above method? |
No. Only integer values that the called function will receive. If you need to pass complex data, use VirtualAllocEx and WriteProcessMemory to write the data in the target process and pass the pointer as the parameter. |
Hello all,
Is there a C sample?
Regards,
The text was updated successfully, but these errors were encountered: