mirror of https://github.com/jumpserver/jumpserver
perf: gather account windows
parent
094e144a51
commit
4f2250b7a8
|
@ -39,8 +39,11 @@ class GatherAccountsFilter:
|
|||
|
||||
@staticmethod
|
||||
def windows_filter(info):
|
||||
# TODO
|
||||
info = info[4:-2]
|
||||
result = {}
|
||||
for i in info:
|
||||
for username in i.split():
|
||||
result[username] = {}
|
||||
return result
|
||||
|
||||
def run(self, method_id_meta_mapper, info):
|
||||
|
|
Loading…
Reference in New Issue