首页 > 数据库技术 > 详细

Access WMI via Python from Linux

时间:2017-01-13 08:02:11      阅读:156      评论:0      收藏:0      [点我收藏+]

 

 

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

原文:http://www.cnblogs.com/diyunpeng/p/6280441.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!