rest-wmi is a simple conventer for Windows WMI written in rust.
Using wmi is hard if language haven't libraries about wmi. Because creating, initializing and querying wmi is little difficult. If you want see steps you can look at here. This is the existence point of rest-wmi.
rest-wmi designed for querying wmi above http server. Also can be used for monitoring remote clients. But in this conditions this may be dangerous.
Compile project with cargo build
and double click /target/debug/rest-wmi.exe
You are ready to send json messages to localhost:8080
For an example send :
{
"namespace":"ROOT\\CIMV2",
"query":"Select Name From Win32_Process"
}
Don't forget sending as POST Request
!!
This project is a template and can be used for different cases. Because of this if you sent a case special thing this will not accept. But you can mail me and I add your project to users section 😄
If you found a bug or useful thing can be added to template your contribution are welcome.
If you use and want to be here please mail me from here