perf: 使用winrm协议批量上传文件

This commit is contained in:
wangruidong
2024-01-30 11:09:38 +08:00
committed by w940853815
parent 8c7ba4a497
commit 279109c9a6

View File

@@ -67,7 +67,7 @@ class JMSPermedInventory(JMSInventory):
'postgresql': ['postgresql'],
'sqlserver': ['sqlserver'],
'ssh': ['shell', 'python', 'win_shell', 'raw'],
'winrm': ['win_shell'],
'winrm': ['win_shell', 'shell'],
}
if self.module not in protocol_supported_modules_mapping.get(protocol.name, []):