mirror of https://github.com/cowrie/cowrie.git
Stop creating symlinks for redir files (#550)
This commit is contained in:
parent
0ca7f59d7e
commit
1fac62ba9a
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue