Commit Graph

3230 Commits

Author SHA1 Message Date
Shay Nehmad 31c348d26a Update test_blackbox.py 2020-03-15 16:58:49 +02:00
Daniel Goldberg bcdeadf7b6 Remove unused dependencies 2020-03-15 15:58:41 +02:00
Shay Nehmad 6d25511f22
Merge pull request #574 from guardicore/567/add-code-coverage
Update codecov badge branch to develop
2020-03-15 14:48:50 +02:00
Shay Nehmad fe5f04e494 Update codecov badge branch to develop 2020-03-15 14:48:09 +02:00
Shay Nehmad ca49563118
Merge pull request #573 from guardicore/567/add-code-coverage
567/add code coverage
2020-03-15 12:13:31 +02:00
Shay Nehmad 88fe581c2f Updated codecov coloring.
See https://docs.codecov.io/docs/coverage-configuration
2020-03-15 11:50:43 +02:00
Shay Nehmad 9c3c9d8fba Created default yaml for codecov with different ranges on green (55+ is good) 2020-03-15 11:40:21 +02:00
Shay Nehmad 215dc59f12 Removed "discover" from coverage cmd (it's for unittest, not pytest) 2020-03-15 11:28:46 +02:00
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
VakarisZ 586057df74 Small bugfix: allow monkey run without network exploitation 2020-03-13 19:54:38 +02:00
VakarisZ f07d058d8b Fixed UI bug where security report map didn't show propper images 2020-03-13 12:44:19 +02:00
VakarisZ 2fff8d3a69 Merge remote-tracking branch 'upstream/develop' into old_machine_bootloader 2020-03-12 15:57:23 +02:00
VakarisZ d75299be25 Removed unnecessary comments, unused file, improved parsing of linux requests 2020-03-12 15:56:06 +02:00
Daniel Goldberg f0f5ddfd60 Unused dependency 2020-03-11 18:39:10 +02:00
VakarisZ e5201a2ecf Fixed bootloader creating multiple nodes bug 2020-03-09 15:53:38 +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 7475cff288 Refactored to have node state list only on backend and more CR fixes 2020-03-06 17:22:53 +02:00
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
Shay Nehmad ddd89c2a14 Deleted commented out code 2020-03-04 15:03:08 +02:00
VakarisZ 1e7775a2bc Fixed bugs related to bootloader on island 2020-03-03 15:19:45 +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
VakarisZ 86218431f7 Fixed bug that treated bootloader node as infected node 2020-03-02 11:40:50 +02:00
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
VakarisZ d8aa63d1cb Fixed windows bootloader telem parsing for windows 2020-02-25 17:48:41 +02:00
Shay Nehmad afbc13a06b CR fixes 2020-02-25 14:57:50 +02:00
Shay Nehmad e815ac53da Changed the post_exec analyzer to not work with Analyzer log but rather work with regular log 2020-02-25 12:19:57 +02:00
Shay Nehmad 97976cdbc5 Got 500 from delete operation so simplyfing and re-trying 2020-02-25 11:24:28 +02:00
VakarisZ 056c260c12 Island adjusted to differentiate parsing data incoming from linux and windows bootloaders 2020-02-24 17:17:34 +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
Shay Nehmad 9965947d3f Analyzer works. now need to add setup to Terraform and add new config 2020-02-23 17:26:29 +02:00
Shay Nehmad 20be94d606 WIP trying to get the BB test to work 2020-02-23 15:24:44 +02:00
Daniel Goldberg 9fa935e507 Move generic files to where it makes sense. 2020-02-23 14:57:48 +02:00
Shay Nehmad 509dd09c84 Changed log type 2020-02-23 14:02:45 +02:00
Shay Nehmad 4461097c60 Added the API /test/clear_caches
Currently clears only the reports from Mongo
2020-02-23 14:02:18 +02:00