We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce15747 commit e1136f6Copy full SHA for e1136f6
1 file changed
nxc/protocols/smb/wmiexec.py
@@ -111,7 +111,7 @@ def execute_remote(self, data):
111
112
command = self.__shell + data
113
if self.__retOutput:
114
- command += " 1> " + f"{self.__output}" + " 2>&1"
+ command += f" 1> {self.__output} 2>&1"
115
116
self.logger.debug("Executing command: " + command)
117
self.__win32Process.Create(command, self.__pwd, None)
0 commit comments