diff --git a/kippo/commands/base.py b/kippo/commands/base.py index 29425281..3859c20d 100644 --- a/kippo/commands/base.py +++ b/kippo/commands/base.py @@ -280,6 +280,7 @@ class command_reboot(HoneyPotCommand): def finish(self): self.writeln('Connection to server closed.') self.honeypot.hostname = 'localhost' + self.honeypot.cwd = '/root' self.exit() commands['/sbin/reboot'] = command_reboot