don't use `url` key for non-urls (#1133)

This commit is contained in:
Michel Oosterhof 2019-05-17 21:56:23 +04:00 committed by GitHub
parent 9e471824fc
commit c0217d3ef4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -128,7 +128,6 @@ class LoggingServerProtocol(insults.ServerProtocol):
log.msg(eventid='cowrie.session.file_download',
format='Saved stdin contents with SHA-256 %(shasum)s to %(outfile)s',
url='stdin',
duplicate=duplicate,
outfile=shasumfile,
shasum=shasum,
@ -167,7 +166,6 @@ class LoggingServerProtocol(insults.ServerProtocol):
duplicate = False
log.msg(eventid='cowrie.session.file_download',
format='Saved redir contents with SHA-256 %(shasum)s to %(outfile)s',
url=url,
duplicate=duplicate,
outfile=shasumfile,
shasum=shasum,