client.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:canisrufus 作者: maldevel 项目源码 文件源码
def _detectUsers(self):
        pythoncom.CoInitialize()
        usr = []
        w = wmi.WMI ()
        for user in w.Win32_UserAccount ():
            usr.append('{0};{1};{2}'.format(user.Name, str(AccountType(user.AccountType)).split('.')[1], 'Disabled' if user.Disabled else 'Enabled'))
        return usr
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号