mirror of
https://github.com/Pennyw0rth/NetExec
synced 2026-06-06 16:34:30 +00:00
Update schtask_as.py
Signed-off-by: Kahvi-0xFF <46513413+Kahvi-0@users.noreply.github.com>
This commit is contained in:
committed by
Marshall Hallenbeck
parent
e7689542f2
commit
447bded268
@@ -200,10 +200,7 @@ class TSCH_EXEC:
|
||||
<Command>cmd.exe</Command>
|
||||
"""
|
||||
if self.__retOutput:
|
||||
if self.location is None:
|
||||
fileLocation = "\\Windows\\Temp\\"
|
||||
else:
|
||||
fileLocation = self.location
|
||||
fileLocation = "\\Windows\\Temp\\" if self.location is None else self.location
|
||||
if self.file is None:
|
||||
self.__output_filename = f"{fileLocation}{gen_random_string(6)}"
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user