mirror of
https://github.com/cowrie/cowrie.git
synced 2025-07-01 18:07:27 -04:00
format string
This commit is contained in:
@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user