AbdulRhman Alfaifi
04/06/2022, 7:54 PMosquery-rs
to communicate with osquery socket to execute SQL queries. I want to change the library osquery-rs
from spawning another process to call the C API directly. To accomplish that I need to do the following:
• Compile osquery
as a library then statically compile it with the Rust wrapper
• Figure out which function to call in the osquery API (I can use the same code used in the osqueryi
)
I have been working on compiling osquery
as a library for weeks and I have came up with nothing. I do not have a lot of experience developing in C and C++.
If you have any resources (open source projects compiling osquery as library, blogs, videos, etc) that might help it will be appreciated.
If you want to discuss this more you can message me here or on twitter: https://twitter.com/A__ALFAIFI
Thanks!tokcum
07/07/2022, 11:34 AM