mirror of https://github.com/n1nj4sec/pupy.git
allow payloads to be saved with user ~ path expansion
This commit is contained in:
parent
12e8e1b1c4
commit
a4b6ae95a5
|
@ -958,6 +958,7 @@ def pupygen(args, config, pupsrv, display):
|
|||
delete=False
|
||||
)
|
||||
else:
|
||||
outpath=os.path.expanduser(outpath)
|
||||
try:
|
||||
os.unlink(outpath)
|
||||
except OSError as e:
|
||||
|
|
Loading…
Reference in New Issue