Ilija Lazoroski
d14e4dee31
Docs: Reword Docker upgrading section
2021-10-25 18:54:28 +02: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
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
VakarisZ
b0e96822dd
Island: split up _reset_data_dir method into _backup_current_data_dir and _is_backup_needed in data_dir.py
...
Change makes the code more readable because the functions have better names and the logic of finding out if the back up is needed / doing the actual back up is separated
2021-10-18 12:26:03 +03:00
VakarisZ
c9335f90a4
Island UT's: rename methods that return directories from "mocked_..." notation to "temp_..." notation in test_data_dir.py
2021-10-18 12:26:03 +03:00
VakarisZ
93adbae2bf
Island: change some less important log messages to debug level, log data directory path in data_dir.py
2021-10-18 12:26:03 +03:00
VakarisZ
0efcffbe54
Monkey island: instead of deleting the backup of data_dir, rename it to data_dir.old. If it already exists, delete it prior to renaming
...
This change saves the users data in case version update destroyed some progress. We don't care about removing old backups because user is unlikely to do two updates at once
2021-10-18 12:26:03 +03:00
VakarisZ
15949a9ed5
Monkey island: change the methods in data_dir.py and version_file_setup.py to handle Path rather than str.
2021-10-18 12:26:03 +03:00
VakarisZ
e77ed9769b
Island: expand data directory setup process with workflow that drops a version file or cleans the directory if it's outdated
...
Version file is needed in the data directory to know if data directory is from an earlier version
2021-10-18 12:26:03 +03:00
VakarisZ
9dad253fcc
Island: create data_dir.py where data dir setup logic will be held
2021-10-18 12:26:03 +03:00
Ilija Lazoroski
6787cce1d0
Zoo: Change API registration parameter
2021-10-14 14:52:13 +02:00
Mike Salvatore
997ad1ee4b
Merge pull request #1526 from guardicore/1392/telemetry-filter-fix
...
UI: Fix telemetry filter
2021-10-14 08:32:03 -04:00