Skip to content

Commit

Permalink
fixing regression with screenshots added to file browser
Browse files Browse the repository at this point in the history
  • Loading branch information
its-a-feature committed Nov 1, 2024
1 parent ce5057e commit 319a715
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.3.1-rc19] - 2024-11-1

### Changed

- Updated the file download process to only add to the file browser if data is not a screenshot

## [3.3.1-rc18] - 2024-10-28

### Changed
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.1-rc18
3.3.1-rc19
2 changes: 1 addition & 1 deletion mythic-docker/src/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.1-rc18
3.3.1-rc19
Original file line number Diff line number Diff line change
Expand Up @@ -1173,7 +1173,9 @@ func handleAgentMessagePostResponseDownload(task databaseStructs.Task, agentResp
return "", err
} else {
go EmitFileLog(fileMeta.ID)
go addFileMetaToMythicTree(task, fileMeta)
if !fileMeta.IsScreenshot {
go addFileMetaToMythicTree(task, fileMeta)
}
// handle the case where the agent sends a chunk along with the registration information
return handleAgentMessageWriteDownloadChunkToLocalDisk(task, fileMeta, agentResponse)
//return fileMeta.AgentFileID, nil
Expand Down

0 comments on commit 319a715

Please sign in to comment.