Skip to content

Commit e1136f6

Browse files
committed
Formatting
1 parent ce15747 commit e1136f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nxc/protocols/smb/wmiexec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def execute_remote(self, data):
111111

112112
command = self.__shell + data
113113
if self.__retOutput:
114-
command += " 1> " + f"{self.__output}" + " 2>&1"
114+
command += f" 1> {self.__output} 2>&1"
115115

116116
self.logger.debug("Executing command: " + command)
117117
self.__win32Process.Create(command, self.__pwd, None)

0 commit comments

Comments
 (0)