perf: 使用winrm协议执行快捷命令

This commit is contained in:
wangruidong 2024-01-29 11:12:45 +08:00 committed by Bryan
parent 8aefacd7ed
commit 78d0e3f485

View File

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