Commit Graph

175 Commits

Author SHA1 Message Date
Mike Salvatore 79e3c69ffb build: Fill in comment in AppImage .desktop file 2021-04-15 11:32:10 -04:00
Mike Salvatore 3e96b20834 build: Rename appimage icon to infection-monkey.svg 2021-04-15 11:32:10 -04:00
Mike Salvatore 14096ae758 build: Rename monkey-island.desktop -> infection-monkey.desktop 2021-04-15 11:32:10 -04:00
Mike Salvatore aca4f8795f build: Delete monkey_island_builder.yml
This file was used by appimage-builder, which we are no longer using.
2021-04-15 11:32:10 -04:00
Mike Salvatore a58f310e61 build: Address shellcheck warnings in run_appimage.sh 2021-04-12 14:29:40 -04:00
Mike Salvatore 9d8fc489c9 build: Move some constants to top of build_appimage.sh 2021-04-12 14:15:12 -04:00
Mike Salvatore 312c98c784 build: Organize appdir-specific tasks in setup_appdir() 2021-04-12 14:15:12 -04:00
Mike Salvatore 38a9cedeb2 build: Remove unnecessary mkdir in build_appimage.sh 2021-04-12 14:15:12 -04:00
Mike Salvatore 9f74127c50 build: remove unnecessary python packages from appimage build 2021-04-12 14:15:08 -04:00
Mike Salvatore 638004cfb2 build: Build AppImage with appimagetool instead of appimage-builder 2021-04-12 12:25:16 -04:00
Mike Salvatore 21a2083903 build: Use official `deployment_scripts/config` in build_appimage.sh 2021-04-12 08:03:11 -04:00
Mike Salvatore 3759c4d07a
build: fix small typo in deployment_scrips/README.md
Co-authored-by: Shreya Malviya <shreya.malviya@gmail.com>
2021-04-07 08:33:11 -04:00
VakarisZ 1cc2dc24ac Fixed pre-commit to be installer in monkey dir during deployment scripts 2021-04-07 07:43:43 -04:00
VakarisZ a5ce373cbf Added pre-commit installation to windows deployment script 2021-04-07 07:43:43 -04:00
Mike Salvatore 575b214c8e build: setup pre-commit in deploy_linux.sh 2021-04-05 13:32:13 -04:00
Mike Salvatore c1d4c7a0d2 docs: add documentation about pre-commit 2021-04-05 12:18:50 -04:00
Mike Salvatore f7cc01811c build: address shellcheck findings in build_appimage.sh 2021-04-04 21:28:04 -04:00
Mike Salvatore ed3d55c8aa build: run `apt upgrade` in appimage script 2021-04-04 21:08:48 -04:00
Mike Salvatore bbe075bca5 build: remove unused monkey_island.desktop 2021-04-01 12:28:39 -04:00
Mike Salvatore 5b1296e05d build: Add README with instructions for appimage builder 2021-04-01 12:25:34 -04:00
Mike Salvatore 8278e0eb6b build: improve appimage build script quality by addressing review comments 2021-04-01 12:25:06 -04:00
Mike Salvatore 2c75eab467 build: remove separate pyjwt `pip install`
This line was a workaround for an issue resolved by ed589bd.
2021-03-31 11:30:55 -04:00
Mike Salvatore b0af8b1b97 build: create appimage-comaptible server_config.json on start 2021-03-31 08:27:41 -04:00
Mike Salvatore 412aa2ba35 build: remove unnecessary includes from monkey_island_builder.yml 2021-03-31 08:27:41 -04:00
Mike Salvatore 5e56257051 build: do not pull agent helper binaries during appimage build 2021-03-31 08:27:41 -04:00
Mike Salvatore 7910d9be52 build: install nodejs 12 in appimage 2021-03-31 08:27:41 -04:00
Mike Salvatore a97bd19358 build: remove unnecessary comments from appimage build 2021-03-31 08:27:41 -04:00
Mike Salvatore 3c113f7a89 build: work around limitations in appimage-builder
See https://github.com/AppImageCrafters/appimage-builder/issues/93 for
more information.
2021-03-31 08:27:41 -04:00
Mike Salvatore eae5881b5f build: prevent PyInstaller from being installed into the appimage 2021-03-31 08:27:41 -04:00
Mike Salvatore 1ac67cfe54 build: create ~/.monkey_island with 0700 permissions 2021-03-31 08:27:41 -04:00
Mike Salvatore 20a3d31852 build: add data_dir to standard server config in appimage build 2021-03-31 08:27:41 -04:00
Mike Salvatore 2d971d95fc build: select server and logger config at runtime in appimage 2021-03-31 07:37:49 -04:00
Mike Salvatore 12c40c3968 build: scripts for building MonkeyIsland as an appimage
Adds the basic scripts for generating an AppImage. Code changes are
required to allow Monkey Island to operate on a read-only filesystem.
2021-03-30 16:22:30 -04:00
VakarisZ 9f839c1743 Removed outdated ScoutSuite setup from deployment scripts 2021-03-23 14:15:07 +02:00
VakarisZ ade2917ba3 Merge remote-tracking branch 'upstream/develop' into 519/scoutsuite-integration
# Conflicts:
#	.swm/OwcKMnALpn7tuBaJY1US.swm
#	.swm/tbxb2cGgUiJQ8Btma0fp.swm
#	.travis.yml
#	deployment_scripts/config
#	monkey/common/utils/exceptions.py
#	monkey/infection_monkey/control.py
#	monkey/infection_monkey/exploit/hadoop.py
#	monkey/monkey_island/cc/environment/set_server_config.py
#	monkey/monkey_island/cc/resources/pba_file_upload.py
#	monkey/monkey_island/cc/services/version_update.py
#	monkey/monkey_island/cc/ui/src/components/pages/RunMonkeyPage/RunOptions.js
#	monkey/monkey_island/cc/ui/src/styles/Main.scss
#	monkey/monkey_island/cc/ui/src/styles/components/Buttons.scss
2021-01-28 16:13:26 +02:00
Mike Salvatore 77d23ca969 deployment_scripts/config: Consolidate exports 2020-12-09 15:06:39 -05:00
Mike Salvatore 5401cf2406 Switch from `apt install` to `apt-get install` in deploy_linux.sh
`apt-get` has a stable command-line interface, while `apt` does not.
2020-12-08 18:54:00 -05:00
Mike Salvatore 2111d2af69 Add instructions on how to run monkey_island after deploy_linux.sh 2020-12-08 15:17:07 -05:00
Mike Salvatore ce40392c2b Assume yes for `apt install` commands in deploy_linux.sh 2020-12-08 15:17:07 -05:00
Mike Salvatore 66ac438fa2 Install libcurl4 in deploy_linux.sh 2020-12-08 15:16:50 -05:00
Mike Salvatore cdc65152d2 Make create_certificate.sh executible when deploying on linux 2020-12-08 13:06:07 -05:00
Mike Salvatore 39da129933 Install python3-distutils in deploy_linux.sh 2020-12-08 12:38:04 -05:00
Mike Salvatore c807104a38 Enable deployment_scripts/config to use wget or curl 2020-12-08 12:33:36 -05:00
VakarisZ b84d1f1708 Fixed linux deployment script config syntax 2020-12-08 12:11:35 -05:00
VakarisZ 88c7a6a0f9 Fixed linux deployment script config to point to proper repository 2020-12-08 12:10:50 -05:00
Mike Salvatore 0238354bea Give a more descriptive error message if deploy_linux.sh cannot use sudo 2020-12-08 10:23:53 -05:00
Mike Salvatore 6f0fffee07 Fix hung timeout when checking for sudo in deploy_linux.sh 2020-12-08 10:01:36 -05:00
Mike Salvatore 330ad6540e Check if user is root before starting deploy_linux script
If the user is root, we want to exit as soon as possible since any commands
that the deployment script runs will be run as root.
2020-12-08 09:58:44 -05:00
VakarisZ b0d4857e49 Fixed deployment script config to download TRACEROUTE and SAMBACRY from a certain release so we don't need to upload them every time 2020-10-05 14:24:58 +03:00
VakarisZ 5e6701dd62 Fixed linux deployment script config syntax 2020-10-05 10:28:45 +03:00
VakarisZ 56e573a569 Fixed linux deployment script config to point to proper repository 2020-10-05 10:24:37 +03:00
VakarisZ 89f18534a3 Changed deployment scripts to also install scoutsuite requirements 2020-10-02 17:40:50 +03:00
Shay Nehmad 965be23f18
Merge pull request #624 from guardicore/623/get-version-from-github-api
623/get version from GitHub api
2020-07-14 11:16:41 +03:00
Shay Nehmad 041eb1efc8 CR fixed: change python version and improve exporting 2020-07-14 11:15:43 +03:00
VakarisZ c03c70ba28 Removed infrastructure related to mimikatz binary: deployment scripts and docs updated 2020-06-05 14:40:58 +03:00
Shay Nehmad 4b735e37ec Use api.github.com to get the latest version
That way we don't need to update it manually in each release
2020-04-17 01:04:40 +03:00
VakarisZ 06e8156a4a Added mitigations to each attack technique report 2020-03-25 13:12:40 +02:00
Daniel Goldberg dbcb3fc92c Fix stupidly broken links 2020-02-12 10:27:12 +02:00
Daniel Goldberg c4d42f5c33 Fix stupid typo 2020-02-10 19:06:39 +02:00
Daniel Goldberg bd79ead2e6 Shell script cleanups 2020-02-10 13:53:24 +02:00
Daniel Goldberg 892096a3b3 Make sure all echo statements are prefixed with the log_message prefix 2020-02-10 13:50:32 +02:00
Daniel Goldberg 2aa7299103 Turn agent download into optional, default parameter to true 2020-02-10 13:48:12 +02:00
Daniel Goldberg 78352a250a Update linux binary URLs to be 1.7 2020-02-09 12:06:05 +02:00
Daniel Goldberg 4b0de32c3d Fix mistake in log message 2020-02-09 12:02:57 +02:00
Daniel Goldberg 3990e354b2 Add error handling.
Remove usage of cd
2020-02-09 11:53:06 +02:00
Daniel Goldberg f745f45940 Move to single line of code for creating certs on linux 2020-02-09 11:37:25 +02:00
Daniel Goldberg 8e109c4824 Don't randomly install npm unless required 2020-02-09 11:31:12 +02:00
Daniel Goldberg 6429bb5597 Typofix on where to download binaries 2020-02-09 11:27:10 +02:00
Daniel Goldberg 0c82f0e98f Don't randomly install mongod unless required 2020-02-09 11:20:43 +02:00
Daniel Goldberg fe9ff0d329 Newline at end of deploy_windows.ps1 2020-02-09 11:14:30 +02:00
Daniel Goldberg c10f20f4b7 First install NPM then change directories 2020-02-09 11:13:17 +02:00
Daniel Goldberg e4812d401a Add some log comments 2020-02-09 11:04:45 +02:00
Daniel Goldberg 0c9a333976 Prefer wget/curl depending on situation (saving files)
Revert using curl/wget exists variables.
typo fix when pulling config with wget
2020-02-09 11:01:03 +02:00
Daniel Goldberg 5f8453dbae Delete temp config file from PS script 2020-02-08 23:25:10 +02:00
Daniel Goldberg 9af93be7f6 Handle either curl or wget seemlessly. 2020-02-08 23:24:25 +02:00
Daniel Goldberg 52d2b6f73d Remove reference to CMD. It's 2020 2020-02-08 22:37:01 +02:00
Shay Nehmad e183f44d14 Improved deployment_scripts/README.md
Fix linter errors and improve English + security recommendations.
2020-02-04 15:08:59 +02:00
Daniel Goldberg e226e74100 No more need for run_script.bat.
Cleaned up README.md visually
2020-02-03 12:18:02 +02:00
Daniel Goldberg 161265e4c4 Remove config.ps1 after loading the configuration 2020-02-03 11:16:00 +02:00
Daniel Goldberg c53806e789 Missing URL path parameter 2020-02-03 11:15:46 +02:00
Daniel Goldberg 9edce17297 Install Pywin32 using pip now 2020-02-03 10:32:47 +02:00
Daniel Goldberg 66a5133a61 Update a lot of URLs and restructure them 2020-02-03 10:32:34 +02:00
Daniel Goldberg aa3442195b Fix syntax errors in PS 2020-02-03 09:59:19 +02:00
Daniel Goldberg 59f9e487bb Update binary links for Windows 2020-02-03 09:59:09 +02:00
Daniel Goldberg 5ecbc5f7a4 Add build-essential command 2020-02-03 09:49:01 +02:00
Daniel Goldberg 2a6c2d5836 Add get-pip command 2020-02-03 09:16:11 +02:00
Daniel Goldberg fb98a9fa12 Consolidate apt install commands 2020-02-03 09:15:22 +02:00
Daniel Goldberg 2d5dbf0b53 Remove unused variables 2020-02-03 08:58:42 +02:00
Daniel Goldberg 5002a7c173 Consistency cleanups 2020-02-03 08:55:04 +02:00
Daniel Goldberg b420a83e22 Fix typos 2020-02-03 08:36:42 +02:00
Daniel Goldberg 291ce9a199 Minimize log messages. 2020-01-20 09:43:45 +02:00
Daniel Goldberg 1c4c22d8e9 Update deployment README.md 2020-01-20 09:34:25 +02:00
Daniel Goldberg cb8d2eb0ef Make deploy_windows.ps1.sh download the configuration, avoiding need for duplicate git clone. 2020-01-20 09:34:22 +02:00
Daniel Goldberg 43adea0728 Ran format on PS1 script 2020-01-20 09:33:47 +02:00
Daniel Goldberg 3191b2d94e Make deploy_linux.sh download the configuration, avoiding need for duplicate git clone. 2020-01-20 09:33:11 +02:00
Daniel Goldberg 1cb66b46fa Remove warnings 2020-01-16 19:57:20 +02:00
Daniel Goldberg 9493cad5e6 Use exists function for deploy_linux.sh. 2020-01-16 19:54:02 +02:00
Daniel Goldberg 768a103c0a Shell formatting 2020-01-04 22:55:00 +02:00
Daniel Goldberg 401def5eb2 Merge Infection Monkey requirements files 2019-11-26 13:22:56 +02:00
Daniel Goldberg d053aaf629
Merge pull request #494 from VakarisZ/readme_updates
Readme updates
2019-11-26 13:19:26 +02:00