Commit Graph

6564 Commits

Author SHA1 Message Date
VakarisZ 8e6a2d8e7d UI: bugfix the need to double click on the import when importing an encrypted configuration
When back-end sends the schema for ui to validate that no unsafe options are selected, UI didn't automatically send a response back in case there were no unsafe options selected
2021-10-26 15:23:07 +03:00
Mike Salvatore 2df588ca59 Changelog: Add missing period 2021-10-25 14:56:29 -04:00
Mike Salvatore bc3b1b274f Changelog: Formatting changes and other small fixes 2021-10-25 14:40:28 -04:00
Mike Salvatore 1b74119812
Merge pull request #1548 from guardicore/update-docker-docs
Docs: Update docker Upgrading section
2021-10-25 13:03:08 -04:00
Mike Salvatore c91d922277 Docs: Clarify "upgrade proceedure" for docker 2021-10-25 12:58:30 -04:00
Ilija Lazoroski d14e4dee31 Docs: Reword Docker upgrading section 2021-10-25 18:54:28 +02:00
Mike Salvatore b91120a677
Merge pull request #1549 from guardicore/docker_data_dir_fix
Docker data dir fix
2021-10-25 12:26:14 -04:00
VakarisZ 01f8488b07 UT's: assert correct behavior on docker if empty data directory is present and if no version file, but other files are present in the data directory 2021-10-25 18:30:53 +03:00
VakarisZ 9ef9ba0024 Island: improve and fix data directory exception handling/logging 2021-10-25 18:29:44 +03:00
VakarisZ a399e8a0ea Docs: reverted the numbering to use 1. instead of manual numeration in docker.md 2021-10-25 17:30:25 +03:00
VakarisZ cebd41b264 Build: change docker container to set MONKEY_DOCKER_CONTAINER env var. This variable is needed because we can't prompt for data dir removal on docker like we do on other deployments
Due to the fact that docker is not running interactively and user might be running on an old data dir if he uses volumes, we need special case for docker
2021-10-25 17:11:31 +03:00
Ilija Lazoroski 9f9744a77f Docs: Update docker Upgrading section 2021-10-25 15:21:04 +02:00
VakarisZ 97642f45dc Island: if the data directory is empty no need to consider backing it up 2021-10-25 11:13:06 +03:00
VakarisZ f6e02e2a6a Project: bump version numbers from 1.11.0 to 1.12.0 for release 2021-10-22 13:52:11 +03:00
VakarisZ c8b1694d27 Island: add an exit import statement because when MSI is built exit method is not found 2021-10-22 13:13:14 +03:00
ilija-lazoroski 3b9eaf34c0
Merge pull request #1544 from guardicore/1524-broken-updates
AppImage and Docker deployment renaming
2021-10-22 09:19:41 +02:00
VakarisZ 82cffc4748 Docs: add a note about possibility to run AppImage from WSL 2021-10-22 10:03:58 +03:00
VakarisZ fcc444b098 Docs: change installer filenames in docker and appImage setup docs 2021-10-22 10:03:18 +03:00
Mike Salvatore c3f5812906 Build: Refactor agent versioning 2021-10-21 12:19:08 -04:00
Ilija Lazoroski d55cbcfbd3 Build: Fix move package to dist dir on appimage 2021-10-21 17:25:00 +02:00
Ilija Lazoroski 6d827ad1af Build: Refactor commit id 2021-10-21 17:12:01 +02:00
Ilija Lazoroski e406294b28 Changelog: Log for broken updates issue 2021-10-21 16:53:35 +02:00
Ilija Lazoroski 530ba633d2 Build: Add build commit to appimage build name 2021-10-21 16:52:13 +02:00
Mike Salvatore 6b0a689adb Docker: Fix `git rev-parse` command
Add -C to git command in order
to execute rev-parse outside the repo.
2021-10-21 16:52:13 +02:00
VakarisZ eedf4484bc Deployments: fix the extraction of commit number in docker.sh 2021-10-21 16:52:13 +02:00
VakarisZ 46ef9df1d2 Deployments: change the default monkey_version to ""
If the version is none (default) the commit number will be used which is preferred in dev environment
2021-10-21 16:52:13 +02:00
VakarisZ 25df96da63 Deployments: Rename docker deployment only if a version is not specified
With this change, Jenkins will output docker packages in the following naming conventions:

Develop: InfectionMonkey-docker-$commit_number.tgz

Release: InfectionMonkey-docker-v$version.tgz
2021-10-21 16:52:13 +02:00
VakarisZ 226c72df5f Deployments: Rename appImage deployment only if a specific version is not specified
With this change, Jenkins will output packages in the following naming conventions:

Develop: InfectionMonkey-$commit_number_x86_64.AppImage

Release: InfectionMonkey-v$version.AppImage
2021-10-21 16:52:13 +02:00
VakarisZ 65f7fd0131 Deployments: change the outputs of appimage build and docker build to conform to the naming convention of InfectionMonkey-v*.*
AppImages are built into InfectionMonkey-v1.11.0.AppImage

Docker is build into InfectionMonkey-docker-v1.11.0.tgz
2021-10-21 16:52:13 +02:00
Mike Salvatore 3a907c3cae Build: Link to setup instructions from Docker README.md 2021-10-21 09:22:57 -04:00
Mike Salvatore e5b130296e
Merge pull request #1541 from guardicore/1530-docs-use-backup-data-dir
Documentation updates for data directory deletion/backup on installing a new version
2021-10-21 08:54:51 -04:00
Mike Salvatore a43c1b0a18 Docs: Add delete data directory tip to Linux and Windows setup 2021-10-21 08:53:46 -04:00
Mike Salvatore be04384efe Docs: Add instructions to configure data_dir on Linux 2021-10-21 08:53:46 -04:00
Shreya Malviya 8b93b45545 Docs: Add FAQ for data dir deletion and backup on installing new version 2021-10-21 08:53:44 -04:00
Shreya Malviya f0f2f02b96 Changelog: Fix issue number in entry for browser window popup fix 2021-10-21 15:03:20 +05:30
VakarisZ 19cce1fb8b
Merge pull request #1539 from guardicore/1432-disable-browser-prompt-windows
1428 disable browser prompt windows
2021-10-21 10:07:20 +03:00
Mike Salvatore 1488ca96d9
Merge pull request #1530 from guardicore/version_file_in_data_dir
Version file in data dir
2021-10-20 13:54:45 -04:00
VakarisZ 39047a3a90 Island: Remove the browser popup on the island launch in production
These changes alter the run_server.bat to not throw a browser pop-up.
These changes are needed to focus users attention to the command prompt.
We plan to add interactivity to the prompt

Fixes #1432
2021-10-20 13:52:02 -04:00
Mike Salvatore f17183a76a Island: Replace joinpath() with / 2021-10-20 13:48:19 -04:00
Mike Salvatore 9b005255f1 Changelog: Update changelog for issue #1114 2021-10-20 13:30:11 -04:00
Shreya Malviya d048f4e4ce Island: Move data directory deletion prompt to data_dir.py 2021-10-20 20:48:16 +05:30
Shreya Malviya b4c48e7cfb island: Remove unneeded functions in monkey_island/cc/setup/data_dir.py 2021-10-20 20:48:16 +05:30
Shreya Malviya 4ec53cb1d1 island: Extract old data dir manipulation to a separate function 2021-10-20 20:48:16 +05:30
Shreya Malviya dd480d1703 island: Prompt user for old data dir's deletion during Island setup if old data dir's and Island's versions mismatch 2021-10-20 20:48:16 +05:30
Mike Salvatore 6a363c1fc3
Merge pull request #1531 from guardicore/1486/powershell-multi-hop
1486/powershell multi hop
2021-10-19 10:20:42 -04:00
Mike Salvatore 8d7a5a410c BB: Remove ".\\m0nk3y" user from Powershell user list
This user was added to work around issue #1486. Since d4a1c2bda resolves
that issue, this user can be removed from the config for this test.
2021-10-19 08:23:07 -04:00
Mike Salvatore 701d589c77 Agent: Include domain with usernames in PowerShell exploiter
Fixes #1486
2021-10-19 08:23:06 -04:00
VakarisZ 27d04e4de6 Monkey: simplify version comparison to string comparison instead of using a package to parse the version 2021-10-19 10:45:44 +03:00
VakarisZ c23a0721c5 CHANGELOG.md entry about data dir backup based on version file 2021-10-18 12:26:21 +03:00
VakarisZ 988bdf0471 Island: check if version from version file is the same as in island instead of checking if it's lower
This change enables to clean the directory if an older version of monkey island is installed after removing the new one
2021-10-18 12:26:03 +03:00