From 728f6530fe21eab0b3d75db9d86ba9091dc3f00f Mon Sep 17 00:00:00 2001 From: shivaaz Date: Tue, 10 Dec 2024 16:36:16 -0500 Subject: [PATCH] issue with atexec.py #1 --- nxc/protocols/smb/atexec.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/nxc/protocols/smb/atexec.py b/nxc/protocols/smb/atexec.py index d27a834b6..8a6a44dc7 100755 --- a/nxc/protocols/smb/atexec.py +++ b/nxc/protocols/smb/atexec.py @@ -72,13 +72,9 @@ def gen_xml(self, command, fileless=False): xml = f""" - - 2024-09-29T10:12:18.1178577 - true - - 3 - - + + {self.get_end_boundary()} + @@ -106,7 +102,7 @@ def gen_xml(self, command, fileless=False): - %WINDIR%\SyStem32\cmd.exe, + cmd.exe, """ if self.__retOutput: self.__output_filename = "\\WINDOWS\\" + gen_random_string(8)