Commit Graph

2807 Commits

Author SHA1 Message Date
Shay Nehmad 1477190d10
Merge pull request #524 from guardicore/bugfix/handle_missing_curl_wget
Bugfix/handle missing curl wget fixes #503
2020-01-19 11:51:47 +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
Shay Nehmad 26355540bd Update system_info_collectors_handler.py 2020-01-08 21:06:02 +02:00
Shay Nehmad 41fa1d3e3f Made collect an abstract method 2020-01-08 14:08:53 +02:00
Shay Nehmad a3d81a0086 Renamed PlannedShutdown to PlannedShutdownException 2020-01-08 14:00:12 +02:00
Shay Nehmad 875cf3318d Fixed circular import 2020-01-08 12:21:38 +02:00
Shay Nehmad 676d46307b Using the generic CloudInstance class to determine environment 2020-01-08 11:20:49 +02:00
Shay Nehmad b9d2614271 CR: Moved AWS classes to own package, create generic CloudInstance class 2020-01-08 11:09:52 +02:00
VakarisZ 91c05ae0f4 dangling comma removed from StartOverPage 2020-01-08 09:19:29 +02:00
VakarisZ b130dd35ec double quotes to single quotes in StartOverModal 2020-01-08 08:57:25 +02:00
VakarisZ 18731a430b Fixed start over modal and start over page, added stylesheet 2020-01-07 16:06:50 +02:00
VakarisZ 34618e1e1e
Merge pull request #523 from guardicore/ssh_keys_palintext_fix
Plaintext ssh keys in logs
2020-01-07 11:18:40 +02:00
VakarisZ 95a42232bb Copied modal into a separate react component 2020-01-06 11:02:36 +02:00
Shay Nehmad fdb54f6b8d Extracted function in EnvCollector for reuse in other parts of the Monkey 2020-01-05 16:23:22 +02:00
Shay Nehmad c0331f84ff Added system info collectors as plugins and the first plugin - EnvironmentCollector 2020-01-05 15:49:05 +02:00
Shay Nehmad 974e2205d1 Bugfix in error handling - func_name does not exist 2020-01-05 15:47:37 +02:00
Daniel Goldberg 5c7cc5117a Fix typo 2020-01-05 10:08:48 +02:00
Daniel Goldberg 768a103c0a Shell formatting 2020-01-04 22:55:00 +02:00
Daniel Goldberg 6c90184010 Double quote to prevent globbing. Not worriessome but why not 2020-01-04 22:54:25 +02:00
Daniel Goldberg 98018251ac Added error handling for pushd failing. 2020-01-04 22:52:56 +02:00
Daniel Goldberg fe97a8f8e3 Fixed SC2155
https://github.com/koalaman/shellcheck/wiki/SC2155
2020-01-04 22:51:08 +02:00
Daniel Goldberg f15abda2ff 1 - Formatted shell script
2 - Added option to download with either curl or wget
2020-01-04 22:50:34 +02:00
Daniel Goldberg dacd469aa9 Double quote to prevent globbing 2020-01-04 22:40:22 +02:00
Daniel Goldberg 6c26933bf8 Set return value to valid return value 2020-01-04 22:37:51 +02:00
VakarisZ a946fc1f31 Hid plaintext ssh keys in logs 2020-01-03 18:28:17 +02:00
Shay Nehmad 723b5b47a5 WIP - adding the environment collector as a plugin, still some work to do 2020-01-02 14:58:40 +02:00
VakarisZ 7af8104434
Merge pull request #511 from guardicore/404_page
404 page added
2020-01-02 12:53:04 +02:00
VakarisZ 9c81ccf6bd Removed unnecessary semicolon in NotFoundPage 2020-01-02 12:38:47 +02:00
Shay Nehmad 718291d573 Tested the AzureInstance class
Tested on Azure instance and non-cloud instace. Seems to work . Unit tests aren't relevant here
2020-01-02 12:16:48 +02:00
VakarisZ 63c4492174
Merge pull request #513 from guardicore/duplicate_credentials
Refactored credential saving to check if credentials already exist
2020-01-02 10:23:10 +02:00
Shay Nehmad 81b44f0ebb WIP - created azure instance class 2020-01-01 17:01:06 +02:00
Shay Nehmad fb0fea6f6a Improved the monkey start function structure a bit, extracted to functions
Prep work for changing system info collection to modular system
2020-01-01 15:33:02 +02:00
Daniel Goldberg 56d601967b fix permissions on script 2019-12-29 12:38:15 +00:00
Shay Nehmad a98ea150b5
Merge pull request #518 from guardicore/hotfix/add-tls-version-to-powershell-script-http-pba
Added TLS version to powershell command.
2019-12-26 16:13:44 +02:00
Shay Nehmad 9ab80362de Added TLS version to powershell command. 2019-12-26 16:08:55 +02:00
Shay Nehmad 52eced33e2
Merge pull request #517 from guardicore/feature/515-add-curl-pba
Replaced ping with curl/wget and Invoke-WebRequest
2019-12-25 12:52:56 +02:00
Shay Nehmad 6e9ee4158d We chose HTTPS 2019-12-25 10:57:17 +02:00
Shay Nehmad ab57b5895e Replaced CreateProcessAsUser with CreateProcessWithLogonW to get over the "0xc0000142" error code and added -UseBasicParsing to get over the IE Engine inconfigured error
This will be heavily documented in a tweet sometime
2019-12-24 19:08:52 +02:00
Shay Nehmad c8a742674f Replaced ping with curl/wget and Invoke-WebRequest 2019-12-23 17:41:42 +02:00
VakarisZ d36b00b05b Replaced " with ' 2019-12-20 18:47:47 +02:00
VakarisZ a0d0f15ca0 Refactored credential saving to check if credentials already exist 2019-12-20 18:42:17 +02:00
VakarisZ 5dc6fffc2a Added config won't change warning 2019-12-20 12:12:26 +02:00
VakarisZ a9090008f9 404 page added 2019-12-17 15:03:37 +02:00
VakarisZ 34c2ff6bb6
Merge pull request #496 from VakarisZ/mitre_updates
ATT&CK UI/UX improvements
2019-12-04 16:30:37 +02:00
VakarisZ 2cd6fc3bf1 Replaced "" to '' 2019-12-04 16:22:13 +02:00
VakarisZ 1fd5ff8773 Loading style changed according to other techniques, link in description now opens on a new tab 2019-12-04 16:01:15 +02:00
VakarisZ adba6f5258 Increased upper error limit for js on travis 2019-12-03 17:10:44 +02:00
VakarisZ 9dc8749550 "" to '' fixes for travis 2019-12-03 16:23:59 +02:00
VakarisZ ce0b15d801 Small ZT refactor 2019-12-03 16:07:11 +02:00