Commit Graph

2877 Commits

Author SHA1 Message Date
Shay Nehmad bff9cc36b1 Added codecov tests to travis yml and updated readme 2020-03-15 11:20:58 +02:00
Shay Nehmad a716204b0f Updated pytest config to ignore some directories
dist and node_modules
2020-03-15 11:20:49 +02:00
Daniel Goldberg 280946a212
Merge pull request #562 from PrajwalM2212/561/dev-setup-update
dev-setup: Fix minor issues in dev-setup readme
2020-03-08 09:31:19 +02:00
Daniel Goldberg 21c80b37d0
Merge pull request #564 from PrajwalM2212/563/ubuntu-19.10
install_mongo.sh: Add entry for ubuntu 19.10
2020-03-08 09:26:08 +02:00
PrajwalM2212 d8487eed60 install_mongo.sh: Add entry for ubuntu 19.10
This PR adds entry for ubuntu 19.10. mongodb does not provide the download for 19.10 version yet. But the 18.04 version download works fine. The entry will have to be replaced if and when the mongodb download for 19.10 becomes available

Closes https://github.com/guardicore/monkey/issues/563
2020-03-07 20:41:12 +05:30
PrajwalM2212 80aaffd8de dev-setup: Fix minor issues in dev-setup readme
This PR sets replaces windows style path separator with linux style path separator for linux dev setup guide. It also adds chmod command for ./monkey_island/linux/run.sh in  monkey_island/readme.md

Closes https://github.com/guardicore/monkey/issues/561
2020-03-07 14:45:48 +05:30
VakarisZ 4460f853e6
Merge pull request #550 from shreyamalviya/emptyconfigfields
Remove `None` values from list of networks to scan
2020-03-06 08:30:01 +02:00
Daniel Goldberg 51ee88632e Hotpatch, fix BUILD notice in Island as well 2020-03-05 20:21:38 +02:00
Daniel Goldberg f767482513 Hotpatch, don't check the host OS for bitness in island spec file but check python version. 2020-03-05 20:20:37 +02:00
Daniel Goldberg 05c5b856f0 Merge remote-tracking branch 'origin/develop' into develop 2020-03-05 19:46:29 +02:00
Daniel Goldberg ed2a2b4576 Hotpatch, no need to compress UCRT DLLs 2020-03-05 19:46:09 +02:00
Shreya 4592c21829 Undo old logic
`None` values in the configuration are now checked before being saved
2020-03-03 01:49:35 +05:30
Shreya 5f3458349d Filter out `None` values from configuration before saving
Configuration is filtered before being saved
(can be seen when adding empty fields and pressing the `Submit` button -> empty fields are removed)
2020-03-03 01:44:02 +05:30
Shreya 6ff2bbf92e Discard all 'None' values in Monkey configuration lists
Instead of checking individually for problems arising due to 'None' values and fixing them, all 'None' values in all lists in the configuration are discarded.
2020-03-02 22:20:12 +05:30
Shreya 16b2b87adc Remove `None` values from list of TCP ports 2020-03-02 22:20:12 +05:30
Shreya 20fff43fa9 Remove `None` values from list of networks to scan
Fixes #540
2020-03-02 22:20:12 +05:30
Shay Nehmad 48875b003a
Merge pull request #559 from guardicore/hotfix/pyinstaller-datas-build-path
Hotfix pyinstaller spec file - datas paths
2020-03-02 10:50:07 +02:00
Shay Nehmad 160d645fc2 The tuple is from source file to dst folder
https://stackoverflow.com/a/59710336/4119906
2020-03-01 18:00:57 +02:00
Daniel Goldberg 90c3502f0d
Merge pull request #545 from guardicore/543/versioning-improvements
543/versioning improvements
2020-02-26 16:22:34 +02:00
Daniel Goldberg 925904deb3
Merge pull request #553 from guardicore/feature/kali
Feature/kali
2020-02-26 16:08:06 +02:00
Daniel Goldberg c9dbd8ee63 More deb installation hotfixes 2020-02-23 19:13:11 +02:00
Daniel Goldberg b93c91237f Hide output 2020-02-23 19:00:39 +02:00
Daniel Goldberg 9fa935e507 Move generic files to where it makes sense. 2020-02-23 14:57:48 +02:00
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 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
Daniel Goldberg 4e28571623 Fix totally broken part of the install_mongo.sh. Now download tgz again 2020-02-12 15:19:47 +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