Fix typo in printf command. (#1162)

This commit is contained in:
fe7ch
2019-07-03 20:59:50 +03:00
committed by Michel Oosterhof
parent 34f8464732
commit 2fc6a47ed8

View File

@ -184,7 +184,7 @@ class command_printf(HoneyPotCommand):
if s.endswith('\\c'):
s = s[:-2]
self.write(codecs.escape_devode(s)[0])
self.write(codecs.escape_decode(s)[0])
commands['/usr/bin/printf'] = command_printf