Commit Graph

8166 Commits

Author SHA1 Message Date
Shreya Malviya f9a6afffb4 Agent: Catch exceptions in IPScanner so thread doesn't crash 2022-04-05 18:27:53 +05:30
vakarisz 64f2d598cf Agent: Add agent deletion check
This check will avoid duplicate deletion calls in case an exception happens
2022-04-05 15:30:38 +03:00
Shreya Malviya 9495027678 Agent: Catch exception when running plugins in master 2022-04-05 17:56:12 +05:30
vakarisz e40703dcac Agent: Add timeouts and improve firewall rule handling code 2022-04-05 14:52:35 +03:00
Ilija Lazoroski 8248004bce Island, UT: Use count_documents instead of count
* count() is deprecated
* pytest.mark.usefixtureS
2022-04-05 07:52:26 -04:00
Ilija Lazoroski 943cb2fa7a Agent: Use `create_daemon_thread` in ExploitClassHTTPServer 2022-04-05 07:52:26 -04:00
vakarisz 4497ea0003 Agent, Island: Decrease keep_tunnel_open_time to 30 seconds 2022-04-05 14:46:10 +03:00
VakarisZ 2aee4c0541
Merge pull request #1855 from guardicore/update-javascript-packages
Update javascript packages
2022-04-05 11:21:07 +03:00
vakarisz d172b91143 UI: Replace " with ' in particle js code 2022-04-05 11:00:01 +03:00
vakarisz a7259d3345 UI: Update minimist to ^1.2.6 2022-04-05 10:29:14 +03:00
Mike Salvatore f920c3e9f1 Project: Add job posting to README 2022-04-04 15:41:59 -04:00
Ilija Lazoroski c82a9cfbf0 Agent: Half the default smb timeout to 30sec 2022-04-04 11:06:19 -04:00
vakarisz f6fa5de58d UI: Update sass-loader
Version 7.3.1 was incompatible with the latest webpack
2022-04-04 17:38:56 +03:00
Mike Salvatore e05deaa57c Docs: Fix grammar in FAQ 2022-04-04 16:26:47 +02:00
Mike Salvatore bbc1219cf9 Docs: Fix broken link in FAQ 2022-04-04 16:26:47 +02:00
Ilija Lazoroski b0c89cee87 Docs: Add maximum time to kill all monkey in FAQ 2022-04-04 16:26:47 +02:00
Ilija Lazoroski 3f3e86bcce Island: Add maximum kill time to kill all monkeys modal window 2022-04-04 16:26:47 +02:00
vakarisz d0124b4c34 UI: Remove react-addons-test-utils
UI package was not used and not compatible with webpack 5.58.0
2022-04-04 17:21:17 +03:00
vakarisz dd910dc76a UI: Remove file-loader and url-loader
These loaders got replaced by webpack asset modules: https://webpack.js.org/guides/asset-modules/
2022-04-04 17:18:55 +03:00
vakarisz cb18f823b1 UI: Move to "react-tsparticles"
react-particles-js got deprecated
2022-04-04 16:22:28 +03:00
Mike Salvatore 5c6ac3d2cf
Merge pull request #1851 from guardicore/1830-nodejs-upgrade
1830 nodejs upgrade
2022-04-04 08:37:43 -04:00
vakarisz 84fe47a9e5 Deploy: Change node version for linux based builds 2022-04-04 14:39:35 +03:00
vakarisz f49490bbc8 UI: Update javascript packages 2022-04-04 14:39:35 +03:00
vakarisz 2d5d245305 Deploy: Change quotes in windows deployment command 2022-04-04 14:39:35 +03:00
vakarisz b3379c66d3 Deploy: Change deployment scripts to use node v16 from v12 2022-04-04 14:39:35 +03:00
Mike Salvatore 4bb0e506c9
Merge pull request #1845 from guardicore/1650-timeouts-for-creating-new-users
Add timeout to new user creation
2022-04-04 07:06:02 -04:00
Shreya Malviya cc83896724
Merge pull request #1848 from guardicore/1836-fix-eslint-errors
Fix eslint errors
2022-04-04 13:08:04 +05:30
Shreya Malviya 85b866e1cb UI: Remove unneeded argument in MapPage.js 2022-04-04 13:07:03 +05:30
Shreya Malviya bb798898c1 Agent: Catch subprocess exceptions in utils/*/users.py 2022-04-04 13:03:50 +05:30
Shreya Malviya a43c1479c8 UI: Fix eslint errors 2022-04-04 11:39:30 +05:30
Ilija Lazoroski 9c25b3590b Agent: User ceil on ping timeouts
This is due to older version of ping which doesn't support
float timeouts. It is throwing `bad linger time` Error.
2022-04-01 10:41:05 -04:00
Ilija Lazoroski 6cd74453cf Agent: Add timeout to scheduling jobs PBA 2022-04-01 10:41:05 -04:00
Mike Salvatore 6be631f731
Merge pull request #1839 from guardicore/1650-signed-scripts-timeout
Add timeout to signed script PBA
2022-04-01 10:39:16 -04:00
Shreya Malviya 7bd1ed4c67 Agent: Catch exceptions in cleanup function of signed script PBA 2022-04-01 18:16:38 +05:30
Shreya Malviya b312c509ce UT: Fix tests for new user creation 2022-04-01 18:11:55 +05:30
Shreya Malviya 88788d24d0 Agent: Add timeouts to utils/windows/users.py 2022-04-01 18:05:20 +05:30
Shreya Malviya 885a871be8 Agent: Add timeouts to utils/linux/users.py 2022-04-01 17:09:50 +05:30
Ilija Lazoroski 2e389cc87e Agent: Add long timeout to clear command history PBA 2022-04-01 07:25:02 -04:00
Mike Salvatore 649404d50f
Merge pull request #1841 from guardicore/1650-shell-startup-modification
Agent: Add timeouts in shell startup modification PBA's
2022-04-01 07:22:28 -04:00
vakaris_zilius 7d3a679135 Agent: Fix error handling in modify_shell_startup_files.py 2022-04-01 10:54:53 +00:00
vakarisz df34991466 Agent: Add timeout handling in modify shell startup PBA 2022-04-01 11:38:25 +03:00
VakarisZ 7b6a7c51b2
Merge pull request #1842 from guardicore/1834-update-pre-commit-hooks
1834 update pre commit hooks
2022-04-01 10:30:23 +03:00
Shreya Malviya 9ac4d23f28 Agent: Catch timeout error in PBA base class 2022-04-01 12:05:18 +05:30
Shreya Malviya 4cc57f1236 Agent: Add timeouts to signed script PBA 2022-04-01 12:05:18 +05:30
Shreya Malviya 31ae13ed0b Agent: Add timeout to PBA base class's run() 2022-04-01 12:05:18 +05:30
Mike Salvatore dc133a9d97 Island: Update formatting packages in Pipfile
Updates black, dlint, flake8, isort
2022-03-31 20:37:23 -04:00
Mike Salvatore a3a99faec7 Agent: Reformat all code with latest version of Black 2022-03-31 20:15:51 -04:00
Mike Salvatore 5134533f0f Island: Reformat all code with latest version of Black 2022-03-31 20:15:27 -04:00
Mike Salvatore 5815941f1a Project: Update pre-commit hooks to the latest versions 2022-03-31 20:14:14 -04:00
Mike Salvatore dba9b9a637 Project: Update swimm binary download location in .travis.yaml 2022-03-31 20:02:43 -04:00