We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c17cf9 commit dc61428Copy full SHA for dc61428
1 file changed
nxc/modules/schtask_as.py
@@ -91,7 +91,7 @@ def on_admin_login(self, context, connection):
91
except Exception as e:
92
if "SCHED_S_TASK_HAS_NOT_RUN" in str(e):
93
self.logger.fail("Task was not run, seems like the specified user has no active session on the target")
94
- #exec_method.deleteartifact()
+ exec_method.deleteartifact()
95
96
class TSCH_EXEC:
97
def __init__(self, target, share_name, username, password, domain, user, cmd, file, task, location, doKerberos=False, aesKey=None, remoteHost=None, kdcHost=None, hashes=None, logger=None, tries=None, share=None):
0 commit comments