mirror of
https://github.com/aljazceru/cowrie.git
synced 2026-01-31 12:04:24 +01:00
also send SFTP uploaded files
This commit is contained in:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user