From 1fac62ba9ae3a6349900abce5cf416081e70a866 Mon Sep 17 00:00:00 2001 From: fe7ch Date: Thu, 13 Jul 2017 09:39:45 +0300 Subject: [PATCH] Stop creating symlinks for redir files (#550) --- cowrie/insults/insults.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cowrie/insults/insults.py b/cowrie/insults/insults.py index 39e2ca80..40baf707 100644 --- a/cowrie/insults/insults.py +++ b/cowrie/insults/insults.py @@ -189,7 +189,7 @@ class LoggingServerProtocol(insults.ServerProtocol): log.msg("Not storing duplicate content " + shasum) else: os.rename(rf, shasumfile) - os.symlink(shasum, rf) + # os.symlink(shasum, rf) log.msg(eventid='cowrie.session.file_download', format='Saved redir contents with SHA-256 %(shasum)s to %(outfile)s', url=url,