mirror of
https://github.com/cowrie/cowrie.git
synced 2025-07-01 18:07:27 -04:00
Fix typo in printf command. (#1162)
This commit is contained in:
@ -184,7 +184,7 @@ class command_printf(HoneyPotCommand):
|
|||||||
if s.endswith('\\c'):
|
if s.endswith('\\c'):
|
||||||
s = s[:-2]
|
s = s[:-2]
|
||||||
|
|
||||||
self.write(codecs.escape_devode(s)[0])
|
self.write(codecs.escape_decode(s)[0])
|
||||||
|
|
||||||
|
|
||||||
commands['/usr/bin/printf'] = command_printf
|
commands['/usr/bin/printf'] = command_printf
|
||||||
|
|||||||
Reference in New Issue
Block a user