also send SFTP uploaded files

This commit is contained in:
Michel Oosterhof
2016-01-05 20:17:52 +00:00
parent 2855a53687
commit fbb3614784

View File

@@ -89,6 +89,10 @@ class Output(cowrie.core.output.Output):
fileName = b
self.postfile(entry["outfile"], fileName)
elif entry["eventid"] == 'COW0017':
log.msg("Sending file to VT")
self.postfile(entry["outfile"], entry["filename"])
def postfile(self, artifact, fileName):
"""