mirror of https://github.com/cowrie/cowrie.git
Merge branch 'master' of http://www.github.com/micheloosterhof/cowrie
This commit is contained in:
commit
a0ddb1ee49
|
@ -17,3 +17,4 @@ twisted/plugins/dropin.cache
|
||||||
_trial_temp
|
_trial_temp
|
||||||
.project
|
.project
|
||||||
.pydevproject
|
.pydevproject
|
||||||
|
.idea/
|
||||||
|
|
|
@ -43,7 +43,7 @@ download_path = dl
|
||||||
|
|
||||||
# Directory for miscellaneous data files, such as the password database.
|
# Directory for miscellaneous data files, such as the password database.
|
||||||
#
|
#
|
||||||
# (default: data_path)
|
# (default: data)
|
||||||
data_path = data
|
data_path = data
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -71,7 +71,7 @@ class Artifact:
|
||||||
return self.fp.fileno()
|
return self.fp.fileno()
|
||||||
|
|
||||||
|
|
||||||
def close(self, keepEmpty=True):
|
def close(self, keepEmpty=False):
|
||||||
"""
|
"""
|
||||||
"""
|
"""
|
||||||
size = self.fp.tell()
|
size = self.fp.tell()
|
||||||
|
|
|
@ -92,6 +92,8 @@ class HoneyPotBaseProtocol(insults.TerminalProtocol, TimeoutMixin):
|
||||||
self.clientVersion = self.getClientVersion()
|
self.clientVersion = self.getClientVersion()
|
||||||
self.logintime = time.time()
|
self.logintime = time.time()
|
||||||
|
|
||||||
|
log.msg(eventid='cowrie.session.params', arch=self.user.server.arch)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
timeout = CONFIG.getint('honeypot', 'interactive_timeout')
|
timeout = CONFIG.getint('honeypot', 'interactive_timeout')
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Reference in New Issue