forked from p34709852/monkey
Changed on windows as well
This commit is contained in:
parent
4dca735265
commit
50f8e9053a
|
@ -63,7 +63,7 @@ class NewUser(object):
|
|||
|
||||
# Try to delete user
|
||||
try:
|
||||
_ = subprocess.check_output(
|
||||
_ = subprocess.Popen(
|
||||
BackdoorUser.get_windows_commands_to_delete_user(self.username), stderr=subprocess.STDOUT, shell=True)
|
||||
except Exception as err:
|
||||
raise NewUserError("Can't delete user {}. Info: {}".format(self.username, err))
|
||||
|
|
Loading…
Reference in New Issue