Skip to content

Commit

Permalink
v3.0.1-rc46
Browse files Browse the repository at this point in the history
Updated the task search MythicRPC and nginx reverse proxy
  • Loading branch information
its-a-feature committed Aug 22, 2023
1 parent 6bac1e6 commit d6d05b1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ 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.0.1-rc46] - 2023-08-22

### Changed

- Fixed an issue with the task searching MythicRPC call
- Fixed an issue with redirects for the UI with custom ports

## [3.0.1-rc45] - 2023-07-20

### Changed
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.1-rc45
3.0.1-rc46
4 changes: 2 additions & 2 deletions mythic-docker/src/rabbitmq/recv_mythic_rpc_task_search.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ func MythicRPCTaskSearch(input MythicRPCTaskSearchMessage) MythicRPCTaskSearchMe
setAnySearchValues := false
searchString := `SELECT task.id FROM task `
if input.SearchHost != nil {
searchString += `JOIN callback ON task.callback_id = callback.id WHERE task.id=:id `
searchString += `AND callback.host=:host `
searchString += `JOIN callback ON task.callback_id = callback.id `
searchString += `WHERE callback.host=:host `
paramDict["host"] = *input.SearchHost
paramDict["id"] = input.TaskID
setAnySearchValues = true
Expand Down
1 change: 1 addition & 0 deletions nginx-docker/config/templates/services.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ server {
ssl_certificate_key /etc/ssl/private/mythic-ssl.key;
client_max_body_size 500M; # allows file uploads up to 500 megabytes
ssl_session_timeout 1d;
absolute_redirect off;
# proxy connections to the new mythic_server
rewrite ^/login$ /new/login permanent;
rewrite ^/$ /new/login permanent;
Expand Down

0 comments on commit d6d05b1

Please sign in to comment.