Beispiel #1
0
 def execCommand(self, proto, cmd):
     """
     """
     self.protocol = protocol.LoggingServerProtocol(
         protocol.HoneyPotExecProtocol, self, cmd)
     self.protocol.makeConnection(proto)
     proto.makeConnection(session.wrapProtocol(self.protocol))
Beispiel #2
0
 def openShell(self, proto):
     """
     """
     self.protocol = protocol.LoggingServerProtocol(
         protocol.HoneyPotInteractiveProtocol, self)
     self.protocol.makeConnection(proto)
     proto.makeConnection(session.wrapProtocol(self.protocol))