2016-01-21 07:54:40+0100 [SSHChannel session (1) on SSHService ssh-connection on HoneyPotTransport,2871,187.188.166.154] Running exec command "cat >/tmp/.xs/daemon.armv4l.mod"
2016-01-21 07:54:40+0100 [SSHChannel session (1) on SSHService ssh-connection on HoneyPotTransport,2871,187.188.166.154] CMD: cat >/tmp/.xs/daemon.armv4l.mod
2016-01-21 07:54:40+0100 [SSHChannel session (1) on SSHService ssh-connection on HoneyPotTransport,2871,187.188.166.154] Command found: cat >/tmp/.xs/daemon.armv4l.mod
2016-01-21 07:54:40+0100 [SSHChannel session (1) on SSHService ssh-connection on HoneyPotTransport,2871,187.188.166.154] Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 73, in callWithContext
return context.call({ILogContext: newCtx}, func, _args, _kw)
File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, _args, _kw)
File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext
return func(args,kw)
File "/usr/lib/python2.7/dist-packages/twisted/conch/ssh/channel.py", line 137, in requestReceived
return f(data)
--- ---
File "/usr/lib/python2.7/dist-packages/twisted/conch/ssh/session.py", line 68, in request_exec
self.session.execCommand(pp, f)
File "/home/kippo/kippo-master/kippo/core/ssh.py", line 267, in execCommand
serverProtocol.makeConnection(protocol)
File "/usr/lib/python2.7/dist-packages/twisted/internet/protocol.py", line 481, in makeConnection
self.connectionMade()
File "/home/kippo/kippo-master/kippo/core/protocol.py", line 237, in connectionMade
insults.ServerProtocol.connectionMade(self)
File "/usr/lib/python2.7/dist-packages/twisted/conch/insults/insults.py", line 423, in connectionMade
self.terminalProtocol.makeConnection(self)
File "/usr/lib/python2.7/dist-packages/twisted/conch/insults/insults.py", line 56, in makeConnection
self.connectionMade()
File "/home/kippo/kippo-master/kippo/core/protocol.py", line 146, in connectionMade
self.cmdstack[0].lineReceived(self.execcmd)
File "/home/kippo/kippo-master/kippo/core/honeypot.py", line 68, in lineReceived
self.runCommand()
File "/home/kippo/kippo-master/kippo/core/honeypot.py", line 125, in runCommand
self.honeypot.call_command(cmdclass, rargs)
File "/home/kippo/kippo-master/kippo/core/protocol.py", line 117, in call_command
obj.start()
File "/home/kippo/kippo-master/kippo/core/honeypot.py", line 26, in start
self.call()
File "/home/kippo/kippo-master/kippo/commands/fs.py", line 16, in call
if self.fs.is_dir(path):
File "/home/kippo/kippo-master/kippo/core/fs.py", line 172, in is_dir
dir = self.get_path(os.path.dirname(path))
File "/home/kippo/kippo-master/kippo/core/fs.py", line 87, in get_path
p = [x for x in p[A_CONTENTS] if x[A_NAME] == i][0]
exceptions.IndexError: list index out of range
I have not checked the source code yet, but maybe someone is faster than me ;)
Also it would be nice to get the content of the file they want to cat into this tmp file
2016-01-21 07:54:40+0100 [SSHChannel session (1) on SSHService ssh-connection on HoneyPotTransport,2871,187.188.166.154] Running exec command "cat >/tmp/.xs/daemon.armv4l.mod" 2016-01-21 07:54:40+0100 [SSHChannel session (1) on SSHService ssh-connection on HoneyPotTransport,2871,187.188.166.154] CMD: cat >/tmp/.xs/daemon.armv4l.mod 2016-01-21 07:54:40+0100 [SSHChannel session (1) on SSHService ssh-connection on HoneyPotTransport,2871,187.188.166.154] Command found: cat >/tmp/.xs/daemon.armv4l.mod 2016-01-21 07:54:40+0100 [SSHChannel session (1) on SSHService ssh-connection on HoneyPotTransport,2871,187.188.166.154] Unhandled Error Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 73, in callWithContext return context.call({ILogContext: newCtx}, func, _args, _kw) File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext return self.currentContext().callWithContext(ctx, func, _args, _kw) File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext return func(args,kw) File "/usr/lib/python2.7/dist-packages/twisted/conch/ssh/channel.py", line 137, in requestReceived return f(data) --- ---
File "/usr/lib/python2.7/dist-packages/twisted/conch/ssh/session.py", line 68, in request_exec
self.session.execCommand(pp, f)
File "/home/kippo/kippo-master/kippo/core/ssh.py", line 267, in execCommand
serverProtocol.makeConnection(protocol)
File "/usr/lib/python2.7/dist-packages/twisted/internet/protocol.py", line 481, in makeConnection
self.connectionMade()
File "/home/kippo/kippo-master/kippo/core/protocol.py", line 237, in connectionMade
insults.ServerProtocol.connectionMade(self)
File "/usr/lib/python2.7/dist-packages/twisted/conch/insults/insults.py", line 423, in connectionMade
self.terminalProtocol.makeConnection(self)
File "/usr/lib/python2.7/dist-packages/twisted/conch/insults/insults.py", line 56, in makeConnection
self.connectionMade()
File "/home/kippo/kippo-master/kippo/core/protocol.py", line 146, in connectionMade
self.cmdstack[0].lineReceived(self.execcmd)
File "/home/kippo/kippo-master/kippo/core/honeypot.py", line 68, in lineReceived
self.runCommand()
File "/home/kippo/kippo-master/kippo/core/honeypot.py", line 125, in runCommand
self.honeypot.call_command(cmdclass, rargs)
File "/home/kippo/kippo-master/kippo/core/protocol.py", line 117, in call_command
obj.start()
File "/home/kippo/kippo-master/kippo/core/honeypot.py", line 26, in start
self.call()
File "/home/kippo/kippo-master/kippo/commands/fs.py", line 16, in call
if self.fs.is_dir(path):
File "/home/kippo/kippo-master/kippo/core/fs.py", line 172, in is_dir
dir = self.get_path(os.path.dirname(path))
File "/home/kippo/kippo-master/kippo/core/fs.py", line 87, in get_path
p = [x for x in p[A_CONTENTS] if x[A_NAME] == i][0]
exceptions.IndexError: list index out of range
I have not checked the source code yet, but maybe someone is faster than me ;) Also it would be nice to get the content of the file they want to cat into this tmp file