当前位置:Gxlcms > 数据库问题 > Access WMI via Python from Linux

Access WMI via Python from Linux

时间:2021-07-01 10:21:17 帮助过:23人阅读

 

 

You can use Impacket (https://github.com/CoreSecurity/impacket) that has WMI implemented in Python.

There are two examples that might be useful:

1) https://github.com/CoreSecurity/impacket/blob/master/examples/wmiquery.py: It allows to issue WQL queries and get description of the objects

2) https://github.com/CoreSecurity/impacket/blob/master/examples/wmiexec.py: A similar approach to psexec but executing commands through WMI

Access WMI via Python from Linux

标签:app   lin   pack   sim   pac   use   useful   ast   tin   

人气教程排行