Commit Graph

4832 Commits

Author SHA1 Message Date
Shreya 09a37292b5 Remove unused import and repeated code in monkey_island/cc/ui/src/services/AuthService.js 2021-05-03 20:23:54 +05:30
Shreya b5236d14c9 Use bcrypt for password hashing for authentication 2021-05-03 20:23:52 +05:30
PrajwalM2212 2ee6315bb8 Changes 2021-05-03 20:16:50 +05:30
PrajwalM2212 9363cadb09 Add functionality to hash passwords on server side 2021-05-03 20:15:24 +05:30
Mike Salvatore 7f06ec4034 Merge branch 'appimage-automated-build' into develop 2021-05-03 10:15:50 -04:00
Mike Salvatore f475df7c9c appimage: fix spacing in argument parsing 2021-05-03 09:32:07 -04:00
Mike Salvatore 998a14d248 appimage: reduce some duplication in argument parsing 2021-05-03 09:29:25 -04:00
Mike Salvatore 684a6f8171 appimage: Match any unknown parameters (not just flags) 2021-05-03 07:45:10 -04:00
Mike Salvatore de9d750e3c Add PR #1136 to the changelog 2021-04-30 10:26:01 -04:00
Mike Salvatore 0192e08900 appimage: Replace some tabs with spaces 2021-04-30 10:17:53 -04:00
Mike Salvatore c61b551545 appimage: Address minor shellcheck findings 2021-04-30 10:17:53 -04:00
Mike Salvatore f87514cbbf appimage: Add a few log messages 2021-04-30 10:17:53 -04:00
Mike Salvatore 9f150bb51a appimage: Remove references to deployment scripts in logging 2021-04-30 10:17:53 -04:00
Mike Salvatore 7ab7e56b4c appimage: Replace `apt` with `apt-get` 2021-04-30 10:17:53 -04:00
Mike Salvatore ebd2fddd79 appimage: Add --as-root flag 2021-04-30 10:17:53 -04:00
Mike Salvatore febad65ff9 appimage: Perform root checks after parsing args 2021-04-30 10:17:53 -04:00
Mike Salvatore d53ba0e881 appimage: Add --help 2021-04-30 10:17:53 -04:00
Mike Salvatore f91a52f0c0 appimage: Exit with error if unsupported parameters are passed 2021-04-30 10:17:53 -04:00
Mike Salvatore fe25cd257f appimage: Add cli parameter to specify local monkey repo dir 2021-04-30 10:17:53 -04:00
Mike Salvatore 280b1e280a appimage: Put cli parameters in alphabetical order 2021-04-30 10:17:53 -04:00
Mike Salvatore 9c11f239ce appimage: Add a cli parameter for for specifying a git branch 2021-04-30 10:17:53 -04:00
Mike Salvatore e58281b0f0 appimage: Use npm-ci instead of npm-install 2021-04-30 10:17:53 -04:00
Mike Salvatore 2856b85616 appimage: Add cli parameter for specifying which agent binaries to include 2021-04-30 10:17:53 -04:00
Mike Salvatore 8cb47ce3e7 appimage: Add cli parameter for specifying the package version 2021-04-30 10:17:53 -04:00
Mike Salvatore 68759e3970 appimage: Make spacing consistent 2021-04-30 10:17:53 -04:00
Mike Salvatore 84c875c396 appimage: Only load binary config if downloading agent binaries 2021-04-30 10:17:53 -04:00
Mike Salvatore 1f4af68278 appimage: Use $WORKSPACE variable if present
Jenkins sets a $WORKSPACE environment variable. We'll use this if it's
been set. Otherwise, use $HOME.
2021-04-30 10:17:53 -04:00
Mike Salvatore c47f5a5912 appimage: Relocate squashfs-root/ to same dir as build_appimage.sh 2021-04-30 10:17:53 -04:00
Mike Salvatore 7276760c6a appimage: Remove unnecessary recursive chmod in clone_monkey_repo() 2021-04-30 10:17:53 -04:00
Mike Salvatore c33f9cf83c appimage: Upgrade from Python 3.7.9 -> 3.7.10 2021-04-30 10:17:53 -04:00
Mike Salvatore 408a0de4f0 appimage: remove node_modules from appdir
The node modules do not need to be deliverer with the appimage. Removing
them from the AppDir saves 50MB.
2021-04-30 10:17:52 -04:00
VakarisZ 3a25c2d748 Improved --run-performance-tests flag entry on CHANGELOG.md 2021-04-30 09:41:20 +03:00
VakarisZ 5f9672c4c4 Changed --no-performance-tests to --run-performance-tests for convenience (skipping performance tests by default) and documented changes in CHANGELOG.md 2021-04-30 09:41:20 +03:00
VakarisZ 9a169629bf Added an option to skip performance during blackbox tests 2021-04-30 09:41:20 +03:00
Mike Salvatore c67ed63cc9
Merge pull request #1124 from guardicore/dlint
Add dlint to flake8
2021-04-28 13:24:41 -04:00
Mike Salvatore 78ca2c25b1 deploy: Remove unnecessary recursive chmod 2021-04-28 12:18:26 -04:00
Mike Salvatore e5935e43c1 agent: Add TODOs regarding string templates. 2021-04-28 11:00:53 -04:00
Shreya d4e277c70b Modify what commands are passed to `subprocess.Popen` in the dropper and windows_upgrader 2021-04-28 10:47:47 -04:00
Mike Salvatore b50faceba7 Add a changelog entry for dlint work 2021-04-28 10:47:38 -04:00
Shreya 9602a67d28 Modify unit tests: tests/infection_monkey/utils/linux/test_users.py 2021-04-28 10:47:28 -04:00
Shreya 410cbadbb3 Fix DUO116 warnings for:
- monkey/infection_monkey/dropper.py
- monkey/infection_monkey/system_info/windows_info_collector.py
- monkey/infection_monkey/utils/windows/users.py
- monkey/infection_monkey/windows_upgrader.py
2021-04-28 10:47:28 -04:00
Shreya 294e8fe56a Fix DU0116 warnings in blackbox tests
by ignoring them
2021-04-28 10:47:28 -04:00
Shreya 4d88efdd84 Fix DUO116 warnings in post breach actions
by ignoring them
2021-04-28 10:47:28 -04:00
Shreya 6b467fd20b Fix DUO116 warnings in monkey/infection_monkey/utils/linux/users.py 2021-04-28 10:47:28 -04:00
Shreya c0fdc9561f Fix DUO123 warnings 2021-04-28 10:46:41 -04:00
Shreya b0be14193d Fix DUO122 warnings 2021-04-28 10:46:41 -04:00
Shreya af381e062f Fix DUO106 warnings
(Introduces a DUO116 warning)
2021-04-28 10:46:19 -04:00
Shreya a3fa4663cb Fix DUO102 warnings
Added comments to ignore some because:

"Python uses the Mersenne Twister as the core generator. However, being completely
deterministic, it is not suitable for all purposes, and is completely unsuitable for
cryptographic purposes. Because the generator is deterministic this means attackers
can predict future values given a sufficient amount of previous values.

Normal random use is acceptable if the relevant code is not used for security or
cryptographic purposes."
2021-04-28 10:46:14 -04:00
Shreya d8c1bf5cbe Add dlint to Pipfile 2021-04-28 10:45:13 -04:00
Shreya 57b61180ce Add dlint as an additional dependency for the flake8 pre-commit hook 2021-04-28 10:44:58 -04:00