Commit Graph

64 Commits

Author SHA1 Message Date
Mike Salvatore db8ea45197 Agent: Remove traceroute binaries
The traceroute binaries are no longer used. They inflate the size of the
agent binaries and add unnecessary dependencies.
2021-08-20 16:27:36 -04:00
Mike Salvatore 78ca2c25b1 deploy: Remove unnecessary recursive chmod 2021-04-28 12:18:26 -04:00
Mike Salvatore 7c34288f1b deployment: Remove swimm debian package after it is installed 2021-04-28 07:01:29 -04:00
Shreya af4aaf23c6 Add Swimm to Linux deployment script 2021-04-27 20:16:50 +05:30
Mike Salvatore d83fc2e914 Drop `--system` from `pipenv install` in deploy_linux.sh
The `--system` flag is not necessary when deploying a development
environment on linux. It's preferable to install python dependencies in
venvs rather than on the system.
2021-04-26 10:42:34 -04:00
Mike Salvatore de8e306786 Install python3.7-venv in deploy_linux.sh
pipx requires ensurepip, which is provided by python3.7-venv
2021-04-22 09:50:30 -04:00
VakarisZ c9b3d3a92d Fixed pipenv bugs for linux deployment scripts 2021-04-22 09:50:29 -04:00
VakarisZ 47f1bd31cc Converted deployment scripts to use pipenv instead of pip 2021-04-22 09:50:29 -04:00
Mike Salvatore 6571e0e4fa Install pre-push hooks in deployment scripts 2021-04-20 12:11:46 -04:00
Mike Salvatore 575b214c8e build: setup pre-commit in deploy_linux.sh 2021-04-05 13:32:13 -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 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 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 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 89f18534a3 Changed deployment scripts to also install scoutsuite requirements 2020-10-02 17:40:50 +03:00
VakarisZ 06e8156a4a Added mitigations to each attack technique report 2020-03-25 13:12:40 +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 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 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 9af93be7f6 Handle either curl or wget seemlessly. 2020-02-08 23:24:25 +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 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 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
vakaris 86e03afedf Added executable flag to deploy_linux.sh 2019-11-25 09:43:42 +02:00
VakarisZ 9ce83110dc Altered linux deployment files to fix minor bugs/fit documentation 2019-11-18 12:53:20 +02:00