Skip to content

Commit 3adbcd0

Browse files
committed
v3.2.2
bug fix
1 parent cf01b04 commit 3adbcd0

File tree

9 files changed

+18
-11
lines changed

9 files changed

+18
-11
lines changed

CHANGELOG.MD

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [3.2.2] - 2023-11-17
8+
9+
### Changed
10+
11+
- Adjusted channel size to help with TOCTTOU issue
12+
713
## [3.2.1] - 2023-11-17
814

915
### Changed

MythicReactUI/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {snackActions} from './components/utilities/Snackbar';
1414
import jwt_decode from 'jwt-decode';
1515
import {meState} from './cache';
1616

17-
export const mythicVersion = "3.2.0";
17+
export const mythicVersion = "3.2.2";
1818
export const mythicUIVersion = "0.1.31";
1919

2020
let fetchingNewToken = false;

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.2.1
1+
3.2.2

mythic-docker/src/rabbitmq/util_agent_message_actions_post_response.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ type writeDownloadChunkToDisk struct {
205205
ChunksWritten chan int
206206
}
207207

208-
var writeDownloadChunkToDiskChan = make(chan writeDownloadChunkToDisk, 1)
208+
var writeDownloadChunkToDiskChan = make(chan writeDownloadChunkToDisk)
209209

210210
func handleAgentMessagePostResponse(incoming *map[string]interface{}, uUIDInfo *cachedUUIDInfo) (map[string]interface{}, error) {
211211
// got message:
@@ -897,6 +897,7 @@ func handleAgentMessagePostResponseDownload(task databaseStructs.Task, agentResp
897897
//base64DecodedFileData := make([]byte, base64.StdEncoding.DecodedLen(len(*agentResponse.Download.ChunkData)))
898898
//totalBase64Bytes, err := base64.StdEncoding.Decode(base64DecodedFileData, []byte(*agentResponse.Download.ChunkData))
899899
if err != nil {
900+
logging.LogError(err, "Failed to base64 decode data to write to disk, bailing out")
900901
return "", err
901902
}
902903
//logging.LogDebug("0. about to have mythic write to disk", "chunk num", *agentResponse.Download.ChunkNum, "byte sample", string(base64DecodedFileData[:10]))
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"files": {
33
"main.css": "/new/static/css/main.00d51b79.css",
4-
"main.js": "/new/static/js/main.23a6754b.js",
4+
"main.js": "/new/static/js/main.5660a092.js",
55
"static/media/[email protected]": "/new/static/media/[email protected]",
66
"static/media/mythic_red_small.svg": "/new/static/media/mythic_red_small.793b41cc7135cdede246661ec232976b.svg",
77
"index.html": "/new/index.html",
88
"main.00d51b79.css.map": "/new/static/css/main.00d51b79.css.map",
9-
"main.23a6754b.js.map": "/new/static/js/main.23a6754b.js.map"
9+
"main.5660a092.js.map": "/new/static/js/main.5660a092.js.map"
1010
},
1111
"entrypoints": [
1212
"static/css/main.00d51b79.css",
13-
"static/js/main.23a6754b.js"
13+
"static/js/main.5660a092.js"
1414
]
1515
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/new/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><link rel="apple-touch-icon" href="/new/logo192.png"/><link rel="manifest" href="/new/manifest.json"/><title>Mythic</title><script defer="defer" src="/new/static/js/main.23a6754b.js"></script><link href="/new/static/css/main.00d51b79.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
1+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/new/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><link rel="apple-touch-icon" href="/new/logo192.png"/><link rel="manifest" href="/new/manifest.json"/><title>Mythic</title><script defer="defer" src="/new/static/js/main.5660a092.js"></script><link href="/new/static/css/main.00d51b79.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>

mythic-react-docker/mythic/public/static/js/main.23a6754b.js renamed to mythic-react-docker/mythic/public/static/js/main.5660a092.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mythic-react-docker/mythic/public/static/js/main.23a6754b.js.map renamed to mythic-react-docker/mythic/public/static/js/main.5660a092.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)