Skip to content

Commit

Permalink
v3.2.2
Browse files Browse the repository at this point in the history
bug fix
  • Loading branch information
its-a-feature committed Nov 17, 2023
1 parent cf01b04 commit 3adbcd0
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 11 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.2.2] - 2023-11-17

### Changed

- Adjusted channel size to help with TOCTTOU issue

## [3.2.1] - 2023-11-17

### Changed
Expand Down
2 changes: 1 addition & 1 deletion MythicReactUI/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {snackActions} from './components/utilities/Snackbar';
import jwt_decode from 'jwt-decode';
import {meState} from './cache';

export const mythicVersion = "3.2.0";
export const mythicVersion = "3.2.2";
export const mythicUIVersion = "0.1.31";

let fetchingNewToken = false;
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.1
3.2.2
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ type writeDownloadChunkToDisk struct {
ChunksWritten chan int
}

var writeDownloadChunkToDiskChan = make(chan writeDownloadChunkToDisk, 1)
var writeDownloadChunkToDiskChan = make(chan writeDownloadChunkToDisk)

func handleAgentMessagePostResponse(incoming *map[string]interface{}, uUIDInfo *cachedUUIDInfo) (map[string]interface{}, error) {
// got message:
Expand Down Expand Up @@ -897,6 +897,7 @@ func handleAgentMessagePostResponseDownload(task databaseStructs.Task, agentResp
//base64DecodedFileData := make([]byte, base64.StdEncoding.DecodedLen(len(*agentResponse.Download.ChunkData)))
//totalBase64Bytes, err := base64.StdEncoding.Decode(base64DecodedFileData, []byte(*agentResponse.Download.ChunkData))
if err != nil {
logging.LogError(err, "Failed to base64 decode data to write to disk, bailing out")
return "", err
}
//logging.LogDebug("0. about to have mythic write to disk", "chunk num", *agentResponse.Download.ChunkNum, "byte sample", string(base64DecodedFileData[:10]))
Expand Down
6 changes: 3 additions & 3 deletions mythic-react-docker/mythic/public/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"files": {
"main.css": "/new/static/css/main.00d51b79.css",
"main.js": "/new/static/js/main.23a6754b.js",
"main.js": "/new/static/js/main.5660a092.js",
"static/media/[email protected]": "/new/static/media/[email protected]",
"static/media/mythic_red_small.svg": "/new/static/media/mythic_red_small.793b41cc7135cdede246661ec232976b.svg",
"index.html": "/new/index.html",
"main.00d51b79.css.map": "/new/static/css/main.00d51b79.css.map",
"main.23a6754b.js.map": "/new/static/js/main.23a6754b.js.map"
"main.5660a092.js.map": "/new/static/js/main.5660a092.js.map"
},
"entrypoints": [
"static/css/main.00d51b79.css",
"static/js/main.23a6754b.js"
"static/js/main.5660a092.js"
]
}
2 changes: 1 addition & 1 deletion mythic-react-docker/mythic/public/index.html
Original file line number Diff line number Diff line change
@@ -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>
<!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>

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit 3adbcd0

Please sign in to comment.