Commit Graph

7964 Commits

Author SHA1 Message Date
Ilija Lazoroski b6bc631d23 UI: Remove caching from webpack
Every build needs to start on clean on production.
2022-04-12 17:25:04 +02:00
Ilija Lazoroski 27d47c05c4 Build: Run `npm run dev` on development build 2022-04-12 17:25:04 +02:00
Ilija Lazoroski 5bed5b7d7c UI: Update the loaders to the latest version 2022-04-12 17:25:04 +02:00
Ilija Lazoroski fd2dc2245c UI: Use eval-source-map instead of eval devtool 2022-04-12 17:25:04 +02:00
Ilija Lazoroski 00dc772953 UI: Use thread-loader and caching to improve build time
* source-map `devtool` is decided based on prod/development
 on production we are using `source-map`, otherwise `eval`
* babel-loader uses CacheDirectory to store compiled version
* exclude node_modules from type script checker
* use fork-ts-checker-webpack-plugin for ts-loader
* use speed-measure-webpack-plugin to measure time loading od dev
2022-04-12 17:25:04 +02:00
Mike Salvatore 8b39a78968
Merge pull request #1872 from guardicore/1864-bug-fix
1864 bug fix
2022-04-11 06:36:41 -04:00
Mike Salvatore 13b7e470db Agent: Set timeout to None for custom PBA 2022-04-11 06:36:27 -04:00
Mike Salvatore b99178832a Common: Remove disused T1216_PBA_FILE_DOWNLOAD_PATH constant 2022-04-11 06:36:27 -04:00
Mike Salvatore b1c125f420 Island: Remove disused T1216 file download endpoint 2022-04-11 06:36:25 -04:00
Mike Salvatore e849a7599a Agent: Remove T1216_random_executable.exe from agent binary on Linux
The signed-script proxy PBA only runs on Windows, so there's no need to
include the 1.1MB executable in the Linux agent.
2022-04-11 06:35:56 -04:00
Mike Salvatore ad0cb20e35 Agent: Package T1216_random_executable.exe with the agent
Packaging the T1216_random_executable.exe binary with the agent removes
coupling between the island's API and a specific post-breach action.
2022-04-11 06:35:56 -04:00
Ilija Lazoroski 5228af2a69 Changelog: Add entry for removal of WebLogic exploiter 2022-04-11 11:58:24 +02:00
Ilija Lazoroski 7baccefae1 Project: Remove WebLogic references 2022-04-11 11:58:24 +02:00
Ilija Lazoroski a0993cdfcb Agent, UT: Remove WebLogic exploiter 2022-04-11 11:58:24 +02:00
Ilija Lazoroski c10b5c9e79 Island: Remove WebLogic exploiter 2022-04-11 11:58:24 +02:00
Ilija Lazoroski d9c295bed4 BB: Remove WebLogic exploiter 2022-04-11 11:58:24 +02:00
Ilija Lazoroski 89384ca6f7 Docs: Remove WebLogic exploiter documentaiton 2022-04-11 11:58:24 +02:00
Mike Salvatore 2b33aaa50c
Merge pull request #1862 from EliaOnceAgain/1552/setup_service
Deploy: Script to install appimage sysd service that runs on boot
2022-04-10 14:58:11 -04:00
Mike Salvatore 151df34ec8 Deploy: Fix capitalization of .AppImage 2022-04-10 14:57:13 -04:00
Mike Salvatore 420e99a902 Changelog: Add a changelog entry for install-infection-monkey-service.sh 2022-04-10 14:55:42 -04:00
Mike Salvatore 1be6de0bd8 Deploy: Set mode=0755 when creating /opt/infection-monkey/bin/ 2022-04-10 14:50:09 -04:00
Mike Salvatore c8e4a4f0ef Deploy: Display help if missing arguments 2022-04-10 14:50:09 -04:00
Mike Salvatore 3aa6d4a119 Deploy: Set `umask 077` before deploying systemd unit 2022-04-10 14:50:09 -04:00
Mike Salvatore f42a3bdaad Deploy: Improve missing argument error message 2022-04-10 14:50:09 -04:00
Mike Salvatore 176e91f533 Deploy: Set permissions of deployed AppImage to 755 2022-04-10 14:50:09 -04:00
Mike Salvatore f00ebef9f3 Deploy: Fix minor issues in Usage of install-infection-monkey-service.sh 2022-04-10 14:50:09 -04:00
EliaOnceAgain 149103e9ba Deploy: Don't chmod if appimage hasn't changed 2022-04-10 14:50:06 -04:00
EliaOnceAgain 4f3b2253d5 Deploy: Set appimage executable, rename assert_flag to assert_parameter_supplied 2022-04-10 14:49:35 -04:00
EliaOnceAgain a671c11f74 Deploy: Help msg format, func names, service name, validity checks 2022-04-10 14:49:25 -04:00
Ilija Lazoroski 59aec706b2 UI: Add output to the wget manual run command 2022-04-10 09:47:05 -04:00
Mike Salvatore 1f5bb7efaf Merge pull request #1876 from guardicore/1869-remove-drupal
Remove Drupal exploiter
2022-04-10 09:45:24 -04:00
Mike Salvatore 727f19ecf6
Merge pull request #1873 from guardicore/1869-remove-struts2-exploit
Remove Struts2 exploiter
2022-04-10 09:39:37 -04:00
Shreya Malviya 533a1b7d98 Changelog: Add entry for removing Drupal exploiter 2022-04-08 21:02:13 +05:30
Shreya Malviya 378b5178c5 BB: Relate references to the Drupal machine in the Zoo 2022-04-08 20:59:38 +05:30
VakarisZ f9a6d13f3a
Merge pull request #1859 from guardicore/1826-catch-exceptions-todos
Resolve catching exceptions TODOs
2022-04-08 13:40:31 +03:00
Ilija Lazoroski 4793e81831 Changelog: Add entry for removal of Struts2 exploiter 2022-04-08 12:19:34 +02:00
Ilija Lazoroski 3ecaff0686 Project: Remove Struts2 entry from vulture 2022-04-08 12:19:04 +02:00
Ilija Lazoroski 9d09117e7b Agent, UT: Remove Struts2 exploiter 2022-04-08 12:18:16 +02:00
Ilija Lazoroski 84ab94acc1 Island: Remove Struts2 exploiter 2022-04-08 12:17:26 +02:00
Ilija Lazoroski d3c60af960 BB: Remove Struts2 exploiter 2022-04-08 12:14:38 +02:00
Ilija Lazoroski 1f32132571 Docs: Remove Struts2 documentation 2022-04-08 12:13:12 +02:00
vakarisz e1b52428d1 UT: Add some tests for exception handling 2022-04-08 12:00:06 +03:00
Shreya Malviya 0789869316 BB: Remove Drupal BB test and related code 2022-04-08 14:27:48 +05:30
Shreya Malviya ff6136b9ad Docs: Remove Drupal exploiter references 2022-04-08 14:26:13 +05:30
Shreya Malviya 22e4e9c0ab Project: Remove constant DRUPAL from Vulture's allowlist 2022-04-08 13:49:22 +05:30
Shreya Malviya 909ac6d9c6 UT: Remove Drupal exploiter references 2022-04-08 13:47:25 +05:30
Shreya Malviya ffbf0f440e UI: Remove Drupal exploiter references 2022-04-08 13:43:27 +05:30
Shreya Malviya 7eddee251e Island: Remove Drupal exploiter references 2022-04-08 13:43:21 +05:30
Shreya Malviya 6052ca8fcc Agent: Remove DrupalExploiter and related code 2022-04-08 13:41:23 +05:30
vakarisz 45c6cac60c Agent: Improve method naming and exception handling 2022-04-08 10:36:14 +03:00