mirror of
https://github.com/aljazceru/cowrie.git
synced 2026-02-19 21:34:31 +01:00
Merge branch 'master' of https://github.com/micheloosterhof/cowrie
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
# Copyright (c) 2016 Dave Germiquet
|
||||
# See LICENSE for details.
|
||||
from twisted.conch.insults import insults, helper
|
||||
from twisted.conch.insults import insults,helper
|
||||
from twisted.test import proto_helpers
|
||||
|
||||
|
||||
@@ -110,7 +110,6 @@ class FakeTransport(proto_helpers.StringTransport):
|
||||
for m in modes:
|
||||
self.privateModes[m] = True
|
||||
|
||||
|
||||
def reset(self):
|
||||
self.home = insults.Vector(0, 0)
|
||||
self.x = self.y = 0
|
||||
@@ -140,9 +139,10 @@ class FakeTransport(proto_helpers.StringTransport):
|
||||
|
||||
|
||||
def _currentFormattingState(self):
|
||||
return helper._FormattingState(self.activeCharset,
|
||||
**self.graphicRendition)
|
||||
return True
|
||||
|
||||
def _FormattingState(self):
|
||||
return True
|
||||
|
||||
def _emptyLine(self, width):
|
||||
return [(self.void, self._currentFormattingState())
|
||||
|
||||
@@ -27,7 +27,7 @@ hostname = svr04
|
||||
# Directory where to save log files in.
|
||||
#
|
||||
# (default: log)
|
||||
log_path = log
|
||||
log_path = ../log
|
||||
|
||||
|
||||
# Directory where to save downloaded artifacts in.
|
||||
|
||||
Reference in New Issue
Block a user