Commit Graph

3230 Commits

Author SHA1 Message Date
Daniel Goldberg e66dc6bad1 Hardcode Kali mongo installation. 2020-02-23 10:32:07 +02:00
Daniel Goldberg d187e8d234 Remove assumption on virtualenv being on path 2020-02-23 10:31:56 +02:00
Daniel Goldberg aaa56ff840
Merge pull request #542 from guardicore/feature/single_command_for_installation
Feature/single command for installation
2020-02-23 10:21:45 +02:00
Daniel Goldberg 5affcbda1a Merge branch 'develop' into feature/single_command_for_installation
# Conflicts:
#	deployment_scripts/deploy_linux.sh
2020-02-23 10:05:45 +02:00
VakarisZ c2b125012f Improved responses to linux bootloader, removed unnecessary files 2020-02-17 11:13:27 +02:00
VakarisZ a0d4b825e9 Added the logic of assigning states to nodes, state(node group) parsing and icon placeholders 2020-02-13 15:01:59 +02:00
VakarisZ dcdfd3cce0
Merge pull request #549 from shreyamalviya/develop
Fix typo in deployment script for linux
2020-02-13 08:35:20 +02:00
Shreya 6f745d0e50 Fix typo in deployment script for linux 2020-02-13 01:07:19 +05:30
Shay Nehmad 51099504e3 Revert "Added before/after request handlers that add the execution time"
This reverts commit 424784ee45.
2020-02-12 16:05:30 +02:00
Shay Nehmad 424784ee45 Added before/after request handlers that add the execution time 2020-02-12 16:03:37 +02:00
VakarisZ f792572079 Adjusted island to parse changed host info 2020-02-12 15:39:20 +02:00
Daniel Goldberg 4e28571623 Fix totally broken part of the install_mongo.sh. Now download tgz again 2020-02-12 15:19:47 +02:00
VakarisZ 1ebbb83629 Improved hostname by parsing out irrelevant data 2020-02-12 13:17:29 +02:00
VakarisZ 72d266a1b8 Added node and edge based on bootloader telemetry. 2020-02-12 11:09:11 +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 065bcf2c84 Merge pull request #546 from guardicore/bugfix/match_island_binary_to_spec_file
Fix names to match island naming conventions
2020-02-09 18:42:01 +02:00
Daniel Goldberg ad9450a77e Fix names to match island naming conventions 2020-02-09 18:40:44 +02:00
Shay Nehmad 0859050a65 Added version argument to monkey build scripts 2020-02-09 15:20:34 +02:00
Daniel Goldberg abbb68ecb8 Random fixups in run.sh 2020-02-09 15:17:14 +02:00
Daniel Goldberg 5b6c6a34f6 Make shellcheck shut up by double quoting all the things 2020-02-09 15:16:16 +02:00
Daniel Goldberg d24df55f90
Merge pull request #544 from guardicore/feature/update_deb_data
Change DEB package homepage to be InfectionMonkey
2020-02-09 12:49:18 +02:00
Daniel Goldberg 290eddf249 Fix to be HTTPS 2020-02-09 12:47:30 +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
Shay Nehmad 46952ed0ae Changed build to static file so that build scripts can change it dynamically 2020-02-09 11:51:00 +02:00
Daniel Goldberg f745f45940 Move to single line of code for creating certs on linux 2020-02-09 11:37:25 +02:00
Shay Nehmad fcef4f154f Delete old Monkey Island-centric version and replace with common.version 2020-02-09 11:32:41 +02:00
Daniel Goldberg 8e109c4824 Don't randomly install npm unless required 2020-02-09 11:31:12 +02:00
Shay Nehmad a7aeb7d7ff Report version as part of state telem and log it in island. 2020-02-09 11:28:47 +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
Shay Nehmad cea33d4540 Logging version when initializing Monkey and Island. 2020-02-09 11:20:29 +02:00
Shay Nehmad bd9400403d Added version file to common. It's also executable so it's accessible from shell. 2020-02-09 11:20:12 +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 798babe4cc Updated mongodb downloads. Support deb10 2020-02-09 11:07:41 +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 e51f2e927f Change homepage to be InfectionMonkey related 2020-02-09 10:53:15 +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