forked from p34709852/monkey
fix
This commit is contained in:
parent
dd0b73519c
commit
6779d4c758
|
@ -167,10 +167,10 @@ class Machine(object):
|
|||
return GUIDs
|
||||
|
||||
def GetLocalAdmins(self):
|
||||
return self.GetUsersByGroupSid(self.GetGroupSidByGroupName("Administrators")).keys()
|
||||
return set(self.GetUsersByGroupSid(self.GetGroupSidByGroupName("Administrators")).keys())
|
||||
|
||||
def GetLocalAdminNames(self):
|
||||
return self.GetUsersByGroupSid(self.GetGroupSidByGroupName("Administrators")).values()
|
||||
return set(self.GetUsersByGroupSid(self.GetGroupSidByGroupName("Administrators")).values())
|
||||
|
||||
def GetLocalAdminSecrets(self):
|
||||
admin_names = self.GetLocalAdminNames()
|
||||
|
|
Loading…
Reference in New Issue