format string

This commit is contained in:
Michel Oosterhof
2015-11-24 12:22:29 +00:00
parent 98d6b704de
commit e114c25569

View File

@ -57,8 +57,7 @@ class command_busybox(HoneyPotCommand):
args = args[1:] args = args[1:]
cmdclass = self.protocol.getCommand(cmd, self.env['PATH'].split(':')) cmdclass = self.protocol.getCommand(cmd, self.env['PATH'].split(':'))
if cmdclass: if cmdclass:
log.msg(eventid='KIPP0005', input=line, format='Command found: %(busybox)s') log.msg(eventid='KIPP0005', busybox=line, format='Command found: %(busybox)s')
#self.protocol.logDispatch('Command found: %s' % (line,))
self.protocol.call_command(cmdclass, *args) self.protocol.call_command(cmdclass, *args)
else: else:
self.help() self.help()