mirror of https://github.com/cowrie/cowrie.git
Merge branch 'master' of https://github.com/micheloosterhof/cowrie
This commit is contained in:
commit
fe49c825c9
|
@ -156,7 +156,7 @@ class command_printf(HoneyPotCommand):
|
|||
|
||||
def call(self):
|
||||
if not len(self.args):
|
||||
self.write('printf: usage: printf [-v var] format [arguments]')
|
||||
self.write('printf: usage: printf [-v var] format [arguments]\n')
|
||||
else:
|
||||
if '-v' not in self.args:
|
||||
if len(self.args) < 2:
|
||||
|
@ -166,6 +166,7 @@ class command_printf(HoneyPotCommand):
|
|||
|
||||
|
||||
commands['printf'] = command_printf
|
||||
commands['/usr/bin/printf'] = command_printf
|
||||
|
||||
|
||||
class command_exit(HoneyPotCommand):
|
||||
|
|
Loading…
Reference in New Issue