We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 859553f commit 5d3955bCopy full SHA for 5d3955b
1 file changed
nxc/modules/link_enable_xp.py
@@ -17,9 +17,9 @@ def __init__(self):
17
def options(self, context, module_options):
18
"""
19
Defines the options for enabling or disabling xp_cmdshell on the linked server.
20
- ACTION Specifies whether to enable or disable:
21
- - enable (default)
22
- - disable
+ ACTION Specifies whether to enable or disable:
+ - enable (default)
+ - disable
23
LINKED_SERVER The name of the linked SQL server to target.
24
25
self.action = module_options.get("ACTION", "enable")
@@ -100,4 +100,4 @@ def is_option_enabled(self, option):
100
self.context.log.debug(f"{option} check result: {result}")
101
if result and result[0]["config_value"] == 1:
102
return True
103
- return False
+ return False
0 commit comments