Remote code execution using WMI
Windows Management Instrumentation (WMI) is the infrastructure for management data and operations on Windows-based operating systems. You can write WMI scripts or applications to automate administrative tasks on remote computers, but WMI also supplies management data to other parts of the operating system and products
Checking admin access
Remote code execution
Append to end for error display
Returns a value of type UInt32. Return values:
returnValues
Result
0
Successful completion
2
Access denied
3
Insufficient privilege
8
Unknown failure
9
Path not found
21
Invalid parameter
Last updated