mirror of https://github.com/n1nj4sec/pupy.git
Fix chown args
This commit is contained in:
parent
3f4cfd5bd4
commit
2450e9e3e5
|
@ -33,7 +33,7 @@ def prepare(suid, slave):
|
|||
try:
|
||||
if slave:
|
||||
path = os.ttyname(slave)
|
||||
os.chown(path, suid)
|
||||
os.chown(path, suid, sgid)
|
||||
except:
|
||||
pass
|
||||
|
||||
|
|
Loading…
Reference in New Issue