Shreya
d4e277c70b
Modify what commands are passed to `subprocess.Popen` in the dropper and windows_upgrader
2021-04-28 10:47:47 -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
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
Mike Salvatore
9ad694fddf
Merge pull request #1106 from guardicore/pipenv
...
Requirement migration to pipenv
2021-04-26 11:37:05 -04:00
Mike Salvatore
afa412ca47
agent: Add note to readme to run build_linux.sh with `pipenv run`
2021-04-26 10:47:00 -04:00
Shreya
9b38303346
Rearrange functions' order in `monkey_island/cc/resources/pba_file_upload.py` to follow stepdown rule
2021-04-26 16:07:53 +05:30
Shreya
4f94e9de74
Break PBA file deletion into functions: attempt to delete PBA file in another function
2021-04-24 13:18:00 +05:30
Shreya
4854c9cfc9
Attempt to remove custom PBA file when resetting config only if filename exists in DB
2021-04-24 13:18:00 +05:30
Mike Salvatore
df67ba554e
agent: Add pyinstaller-hooks-contrib and importlib-metadata to Pipfile
...
Pipenv fails to install these dependencies in the
cdrx/pyinstaller:python3 container when pyinstaller is installed from
our fork. Adding them to the Pipfile ensures they get installed and
resolves the issue.
2021-04-23 11:20:13 -04:00
VakarisZ
fd8ef7f39e
Refactored test_telems to exported_telems and moved them from the test folder, because they are generated in production
2021-04-23 08:39:19 -04:00
VakarisZ
8121f08aa9
Refactored test_telems to exported_telems and moved them from the test folder, because they are generated in production
2021-04-23 11:12:14 +03:00
Mike Salvatore
3b32ef2f4a
Remove PostgreSQL fingerprinter
...
Issue #1077
2021-04-22 10:33:06 -04:00
Mike Salvatore
6a54c1e85a
agent: Add sys_platform == win32 to Pipfile
2021-04-22 09:50:30 -04:00
Mike Salvatore
6412391ff8
docs: Add pipenv instructions to manual monkey setup guide for Windows
2021-04-22 09:50:30 -04:00
Mike Salvatore
57d6552433
docs: Add pipenv instructions to manual monkey setup guide for Linux
2021-04-22 09:50:30 -04:00
VakarisZ
0120c027b0
Fixed run server bat script
2021-04-22 09:50:30 -04:00
Mike Salvatore
051621bdfa
Modify monkey_island/linux/run.sh to use pipenv
2021-04-22 09:50:30 -04:00
VakarisZ
c2024d06f6
Fixed requirements to use cryptography 2.5, so that linux builds of agents on ubuntu12 could install requirements
2021-04-22 09:50:29 -04:00
VakarisZ
ffb761ef4b
Updated monkey pipfile and pipfile.lock in attempt to fix brokend jenkins build
2021-04-22 09:50:29 -04:00
VakarisZ
c00754a3a4
Moved dev requirements of black, coverage, flake and others to dev dependencies of the island to be a single source of truth
2021-04-22 09:50:29 -04:00
VakarisZ
00e9940a0b
Using pymssql v2.2.0 or later results in the following error message:
...
ImportError: /tmp/_MEISNYzdG/pymssql/_pymssql.cpython-37m-x86_64-linux-gnu.so: ELF load command address/offset not properly aligned
2021-04-22 09:50:29 -04:00
VakarisZ
7f928fa90d
Migrated from monkey agents requirements.txt to pipenv requirements
2021-04-22 09:50:29 -04:00
VakarisZ
eca26b596b
Fixed island requirements frozen in PipFile to better correlate with already deleted requirements.txt
2021-04-22 09:50:29 -04:00
VakarisZ
465023b64d
Removed cryptography dependency from infection monkey agent dependencies and added eggs to git dependencies
2021-04-22 09:50:29 -04:00
VakarisZ
33de5aac60
Converted island requirement.txt file to pipenv files
2021-04-22 09:50:29 -04:00
VakarisZ
0f5cda52c2
Merge pull request #1113 from guardicore/import-fix
...
Fixed a broken import in mitigation.py
2021-04-22 11:44:14 +03:00
VakarisZ
26e10e9ed2
Fixed a broken import in mitigation.py
2021-04-22 11:33:14 +03:00
VakarisZ
ffec6f6e8a
Merge pull request #1112 from guardicore/import-fix
...
Import fix
2021-04-22 11:24:17 +03:00
VakarisZ
2480dc8cdb
Fixed a broken import in attack_mitigations.py
2021-04-22 11:13:18 +03:00
Mike Salvatore
7c452d0c6f
tests: Remove debug print statement in conftest.py
2021-04-21 08:03:01 -04:00
Mike Salvatore
a42e6312b1
tests: Remove unnecessary server configs
2021-04-21 08:00:24 -04:00
Mike Salvatore
753c0586c1
cc: Move config files and other testing resources to tests/ dir
2021-04-20 11:27:30 -04:00
Shreya
c37ae1e0ea
Modify pytest configuration
...
Shift it from monkey/pytest.ini to pyproject.toml.
Add conftest.py in tests/ to add monkey directory to sys.path so test files recognize paths.
2021-04-19 17:36:09 +05:30
Shreya
4680193375
Put unit test files in the right directories
...
Some test files were in their own "tests/" directory. Deleted the extra "tests/" directories.
2021-04-19 13:54:48 +05:30
Shreya
a2115e4254
Fix imports for unit test files
2021-04-19 13:54:48 +05:30
Shreya
f8936f61bb
Move all tests for monkey_island/cc/services/reporting/report.py to one file
2021-04-19 13:54:48 +05:30
Shreya
c08dbf9376
Move conftest files to tests/ directory
2021-04-19 13:54:48 +05:30
Shreya
fa21336ff2
Move all unit test files to a separate directory
2021-04-19 13:54:48 +05:30
Mike Salvatore
57f8f200b1
Merge pull request #1101 from guardicore/appimage-v2
...
Appimage v2
2021-04-16 07:45:19 -04:00
Mike Salvatore
5a1a5fc6fe
cc: Set cwd when executing monkey binary from the island
...
Since AppImages are read-only filesystems, the agent cannot create any
files in `./`. Therefore, setting cwd in the `subprocess.Popen()` call
will change CWD to a writable directory if `data_dir` is set.
2021-04-15 12:19:09 -04:00
Mike Salvatore
d507e6f617
Merge pull request #1098 from guardicore/eslint
...
Add eslint
2021-04-15 07:29:51 -04:00
VakarisZ
be693edb55
Merge pull request #888 from VakarisZ/typescript_support
...
Typescript support implemented
2021-04-15 12:43:15 +03:00
Mike Salvatore
3b4bd7b08c
cc: Upload custom PBAs to data_dir instead of MONKEY_ISLAND_ABS_PATH
2021-04-14 11:02:25 -04:00
Shreya
025cb7851c
Rename blackbox endpoint classes to match filenames
2021-04-14 15:33:02 +05:30
VakarisZ
ea61961ff4
Moved some packages to dev dependencies instead of prod in package.json
2021-04-14 11:05:43 +03:00
VakarisZ
448d846362
Moved dev UI dependencies from prod and changed typescript target to es6
2021-04-14 10:29:34 +03:00
VakarisZ
50c5fdb9fc
Typescript support implemented
2021-04-14 10:29:34 +03:00
Shreya
6d43ce900c
Rename blackbox test files under monkey_island/cc/resources/blackbox/
2021-04-14 10:47:00 +05:30
Shreya
86c4f9f63d
Rename directory "test" to "blackbox" in monkey_island/cc/resources/
2021-04-14 10:47:00 +05:30
Shreya
26684bbb4e
Rename files having endpoints for blackbox tests
2021-04-13 10:53:19 +05:30
Shreya
5469c7cc41
Match unit tests' class names and file names
...
Renamed class/file name depending on which was more applicable
2021-04-13 10:43:05 +05:30
Shreya
6e92127807
Rename unit test files from *_test.py to test_*.py
2021-04-13 10:43:05 +05:30
Shreya
c736560f09
Fix "Do not access Object.prototype method 'hasOwnProperty' from target object" eslint warnings
2021-04-12 17:31:17 +05:30
Shreya
e74e205368
Fix trailing comma eslint warnings
2021-04-12 17:31:17 +05:30
Shreya
bbfc0d4130
Fix "Component definition is missing display name" eslint warnings
2021-04-12 17:31:58 +05:30
Shreya
f267e5bbc0
Fix unused variable eslint warnings
2021-04-12 17:31:29 +05:30
Shreya
508c562243
Fix singlequotes eslint warnings
2021-04-12 17:31:18 +05:30
Mike Salvatore
76a2dfdf91
cc: Remove unnecessary quotes in post_breach_actions.py
2021-04-11 19:35:40 -04:00
VakarisZ
f9d8584910
Shellshock UI bugfix
2021-04-08 11:02:18 -04:00
Mike Salvatore
b3c8ce28ed
agent: Fix bug caused by unintentional newline in elastic exploiter
2021-04-07 19:10:36 -04:00
Mike Salvatore
13d99a4ccc
agent: Fix W291 trailing whitespace warnings
2021-04-07 13:49:37 -04:00
Mike Salvatore
4466ff44cf
Run black to resolve E261 warnings
2021-04-07 13:40:01 -04:00
VakarisZ
56e754eddd
Manual fixes of long line refactorings gone wrong
2021-04-07 13:40:01 -04:00
VakarisZ
73da6fdc40
Manually fixed long lines not picked up by automatic refactoring
2021-04-07 13:40:01 -04:00
VakarisZ
1c44ada9bb
Added noqa to long import which is the outcome of running black
2021-04-07 13:40:01 -04:00
VakarisZ
3149dcc8ec
Fixed screwed up formatting with black
2021-04-07 13:40:01 -04:00
VakarisZ
03bcfc97af
All E501 errors fixed, but formatting screwed up
2021-04-07 13:40:01 -04:00
Mike Salvatore
d5e43fbf51
cc: Remove unused `Dict` import in exploiter_descriptor_enum.py
2021-04-06 18:06:31 -04:00
Mike Salvatore
f85e6fc7d0
Sort all imports using isort 5.8.0
2021-04-06 18:01:59 -04:00
Mike Salvatore
661f3907a9
Merge branch 'paint-it-black' into develop
...
Resolves #1070
2021-04-06 17:42:21 -04:00
Shreya
42db1c497a
Mark PostgreSQL fingerprinter safe
2021-04-06 19:04:17 +05:30
Mike Salvatore
c40f7bf6c9
Reformat all python with black v20.8b1
2021-04-06 09:20:18 -04:00
Shreya Malviya
c7a241e776
Merge pull request #1068 from guardicore/report_refactoring
...
Report refactoring
2021-04-06 18:43:59 +05:30
Shreya
7973a35338
Fix unit tests
2021-04-06 18:31:02 +05:30
Shreya
fa0729881e
Remove unused imports
2021-04-06 18:12:03 +05:30
VakarisZ
0b34d30fd6
Improved exploiter descriptors and usage of them in report.py
2021-04-06 11:35:41 +03:00
VakarisZ
6685b24da4
Removed unused annotations import
2021-04-06 10:16:05 +03:00
VakarisZ
87cec0036d
Fixed report to show display names instead of class names of exploiters where needed
2021-04-06 10:11:34 +03:00
Mike Salvatore
46be7ae0d4
agent: resolve E741 flake8 warnings
2021-04-05 14:48:33 -04:00
Shreya
3e419478af
Fix F841 warnings
2021-04-05 20:33:19 +05:30
Shreya
d8e1be7d6f
Fix F401 warnings
2021-04-05 20:33:19 +05:30
Shreya
d0168dfb9e
Fix E722 warnings
2021-04-05 20:33:19 +05:30
Shreya
7bfdc3c7e5
Fix W605 warnings
2021-04-05 20:33:17 +05:30
Shreya
278326e4e4
Fix W293 warnings
2021-04-05 17:46:43 +05:30
Mike Salvatore
e616fcdf50
Merge branch 'appimage' into develop
2021-04-04 21:53:06 -04:00
VakarisZ
de2581d323
Extended exploiter report info class to have all possible values that exploit processors could add
2021-04-02 12:00:04 +03:00
VakarisZ
72a97e6465
Small style fixes and improvements
2021-04-02 11:59:28 +03:00
Mike Salvatore
3d938f2536
cc: Fix come incorrect import paths
2021-03-31 11:55:21 -04:00
Mike Salvatore
921c4d01ca
cc: resolve some flake8 warnings
2021-03-31 08:27:41 -04:00
Mike Salvatore
1fad6b4666
cc: remove unnecessary `config` property from environment_singleton
...
Introduced in b0d478473fe
2021-03-31 08:27:41 -04:00
Mike Salvatore
b5e8d895c8
cc: use data_dir when running monkey agent locally from island
2021-03-31 08:27:41 -04:00
Mike Salvatore
e1209dcb4c
cc: add data_dir_abs_path property to EnvironmentConfig
...
EnvironmentConfig needs to handle environment variables and '~' in its
`data_dir` property. Other components that consume `data_dir` need
environment variables and '~' resolved to an absolute path. Add a
property called `data_dir_abs_path` that calculates the absolute path
from `data_dir`. Since `data_dir` remains unchanged, the
EnvironmentConfig can be saved to file without modifying the `data_dir`
option in the file.
2021-03-31 08:27:41 -04:00
Mike Salvatore
29c9c72ef3
cc: rename server_config_data_dir.json -> server_config_with_data_dir.json
2021-03-31 08:27:41 -04:00
Mike Salvatore
45367bb051
cc: add encrypt/decrypt test
2021-03-31 08:27:41 -04:00
Mike Salvatore
fdeec3a634
cc: rename data_dir parameter in encryptor to password_file_dir
2021-03-31 08:27:41 -04:00
Mike Salvatore
115368f83d
cc: rename DATA_DIR constant in test to WITH_DATA_DIR
2021-03-31 08:27:41 -04:00
Mike Salvatore
044c656543
cc: rename encryptor() -> get_encryptor()
2021-03-31 08:27:41 -04:00
Mike Salvatore
a09cd8f497
cc: expanduser in data_dir path in Encryptor
2021-03-31 08:09:32 -04:00
Mike Salvatore
d265238107
cc: format encryptor.py with black
2021-03-31 08:09:32 -04:00
Mike Salvatore
3f6c268f40
cc: allow encryptor to store key file in variable locations
2021-03-31 08:09:32 -04:00
Mike Salvatore
438a2701d4
cc: add `data_dir` property to EnvironmentConfig
2021-03-31 07:50:12 -04:00
Mike Salvatore
2d971d95fc
build: select server and logger config at runtime in appimage
2021-03-31 07:37:49 -04:00
VakarisZ
64018eb373
Extracted home environment mocking into a reusable fixture and added a todo, to move it to our fixture list
2021-03-31 07:37:49 -04:00
VakarisZ
ef1ef3475b
Extracted island argument parsing into a separate file
2021-03-31 07:37:49 -04:00
Mike Salvatore
21e0b5170b
cc: explicitly cast tmpdir to str in test_island_logger.py
2021-03-31 07:37:49 -04:00
Mike Salvatore
1f57610005
monkey_island.py: Add TODO to refactor argument handling
2021-03-31 07:37:49 -04:00
Mike Salvatore
e6bf085d12
address some flake8 errors
2021-03-31 07:37:49 -04:00
Mike Salvatore
5b781c50a4
cc: rename DEFAULT_LOGGING_CONFIG_PATH -> DEFAULT_LOGGER_CONFIG_PATH
2021-03-31 07:37:49 -04:00
Mike Salvatore
74e0dfddc5
cc: expand "~" in log file configuration
2021-03-31 07:37:49 -04:00
Mike Salvatore
8b3703816d
run black to format monkey_island.py
2021-03-31 07:37:49 -04:00
Mike Salvatore
e8bb2e6be2
cc: allow logger config to be specified at runtime
2021-03-31 07:37:49 -04:00
Mike Salvatore
4cb28db3bc
cc: reformat island_logger.py for readability
...
1. Adjusted some spacing and indentation
2. Reformatted with Black
2021-03-31 07:36:07 -04:00
Mike Salvatore
fef44bcd05
cc: deploy "develop" environment by default
2021-03-31 07:36:07 -04:00
Mike Salvatore
fc2f8eca45
cc: remove unnecessary private constants in consts.py
2021-03-31 07:33:47 -04:00
Mike Salvatore
ea14bcc2f6
cc: rename DEFAULT_STANDARD_SERVER_CONFIG -> DEFAULT_STANDARD_SERVER_CONFIG_PATH
2021-03-31 07:33:47 -04:00
Mike Salvatore
dd9e4bdefa
cc: address flake8 issues
2021-03-31 07:32:55 -04:00
Mike Salvatore
a057dec1fe
cc: use DEFAULT_SERVER_CONFIG_PATH in set_server_config
2021-03-31 07:27:25 -04:00
Mike Salvatore
98b64da896
cc: simplify constructor/factory interface for EnvironmentConfig
...
The `get_from_json()` and `get_from_dict()` static methods were really
just used for testing. The `EnvironmentConfig` class needs to store its
file path so it can wite to the file if needed. In practical usage,
`EnvironmentConfig` objects are initialized from files, so a simpler
interface is for its constructor to take a file path.
2021-03-31 07:27:25 -04:00
VakarisZ
54f1d0e49c
Made naming of issue methods in UI more consistent
2021-03-31 13:07:19 +03:00
Shreya
edb669d00e
Pass tests
2021-03-31 15:23:04 +05:30
Shreya
9e3c3c13e4
Merge remote-tracking branch 'upstream/develop' into postgresql-fp
2021-03-31 15:00:30 +05:30
Shreya
0b65a07ec4
Format everything with black
2021-03-31 14:50:48 +05:30
Shreya
b0f85f6857
Rewrite tests with pytest
2021-03-31 14:48:13 +05:30
VakarisZ
a284467a1a
Improved UI by creating distinct functions related to immediate threats report component
2021-03-31 11:55:22 +03:00
VakarisZ
05fda70cd6
Fixed SSH exploiter's report section in UI
2021-03-31 11:54:20 +03:00
VakarisZ
e96b8eec38
Refactored zerologon exploiters report part to conform to new report structure
2021-03-31 11:53:50 +03:00
VakarisZ
c504b21d33
Fixed trivial bugs like missing imports in issue UI files
2021-03-31 11:50:53 +03:00
Shreya
165b0df195
Testing changes
2021-03-31 13:01:18 +05:30
Shreya
91b858e162
Handle the case where the postgres connection is successful
2021-03-31 12:13:49 +05:30
Mike Salvatore
4b5415ac0b
cc: fix server_config_generator behavior
2021-03-30 19:17:30 -04:00
Mike Salvatore
986219bd86
cc: rework EnvironmentConfig test
...
1. Rewrote in pytest
2. Removed reduntant tests
3. Added tests for add_user() and get_users()
2021-03-30 19:17:30 -04:00
Mike Salvatore
1d73f6e860
cc: move DEFAULT_SERVER_CONFIG_PATH to consts.py
2021-03-30 16:39:07 -04:00
Mike Salvatore
0230c26f19
cc: allow server_config.json to be specified at runtime
2021-03-30 16:34:29 -04:00
Shreya
ab33db650f
Add timeout to PostgreSQL connection and other testing changes
2021-03-30 17:48:20 +05:30
Shreya
13d03abd37
CR changes
2021-03-30 17:32:21 +05:30
VakarisZ
2b3351baec
Created immediate threat counter
2021-03-30 13:00:47 +03:00
VakarisZ
d2fdabe26b
Added missing issue descriptors
2021-03-30 13:00:18 +03:00
VakarisZ
280df4e676
Fixed a bug in report backend
2021-03-29 17:41:23 +03:00
VakarisZ
abb7ab09a9
Rebased changes to include what was done in release/1.10.0
2021-03-25 14:11:56 +02:00
VakarisZ
8efc3e654c
Extracted exploiters from reports in front end and back end
2021-03-25 11:53:07 +02:00
VakarisZ
8437f8d838
Merge pull request #1050 from guardicore/version_number_bump
...
Version number bump
2021-03-24 15:28:04 +02:00
VakarisZ
66ce163067
Bumped version number to 1.10
2021-03-24 15:26:20 +02:00
VakarisZ
bae0ed38a1
Moved elastic port to HTTP ports to fix a bug of "All web-ports are closed"
2021-03-24 08:48:51 -04:00
VakarisZ
c612e7e4b5
Added simplejson requirements to monkey requirements
2021-03-23 16:58:26 +02:00
VakarisZ
08df196a26
Merge pull request #1045 from guardicore/scoutsuite_fix
...
Minor ScoutSuite related fixes
2021-03-23 14:42:47 +02:00
VakarisZ
9c8e0a8270
Removed unnecessary explicit ScoutSuite import in monkey spec file
2021-03-23 14:15:57 +02:00
Mike Salvatore
ef0c3c2f66
Merge pull request #1044 from guardicore/tunneling_bugfix
...
Tunneling bugfix
2021-03-19 11:12:04 -04:00
VakarisZ
739afa4fbe
Fixed urlib dependency issue
2021-03-19 16:52:01 +02:00
VakarisZ
4b1a8d59be
Merge pull request #1033 from shreyamalviya/bugfix-unicode-decode-error
...
Handle UnicodeDecodeError in Windows info collector
2021-03-18 10:49:09 +02:00
VakarisZ
72a3229e49
Merge pull request #1042 from guardicore/island_requirements_fix
...
Island requirements fix
2021-03-18 10:19:40 +02:00
Shreya
91577c6464
Add try/except to system info collection so agent doesn't crash if exception is encountered
2021-03-18 13:33:35 +05:30
Shreya
a83c97519c
CR changes
2021-03-18 13:14:26 +05:30
VakarisZ
ed589bd46a
Specified pyjwt requirement to be 1.7
2021-03-18 09:41:29 +02:00
VakarisZ
e6a0b7b49e
Merge branch 'release/1.10.0' of https://github.com/guardicore/monkey into release/1.10.0
2021-03-18 09:34:33 +02:00
VakarisZ
4cd105abe4
Fixed ScoutSuite unit test
2021-03-18 09:31:45 +02:00
VakarisZ
3ca7537a99
ScoutSuite performance upgrades.
2021-03-17 11:50:49 -04:00
VakarisZ
6a13fa90e6
Small profiling decorator improvement
2021-03-17 11:50:45 -04:00
VakarisZ
80776f2b1d
Minor spec file style improvement
2021-03-17 11:50:03 -04:00
VakarisZ
fd058c7ff0
Refactored ScoutSuite into a separate package rather than submodule
2021-03-17 11:49:33 -04:00
VakarisZ
2c1e89c7b3
ScoutSuite performance upgrades.
2021-03-17 14:49:35 +02:00
VakarisZ
aaf6a33f92
Small profiling decorator improvement
2021-03-17 14:41:11 +02:00
VakarisZ
9e27a93a3b
Minor spec file style improvement
2021-03-17 12:45:08 +02:00
Shreya
5192953dd0
Unrelated log statement changes
2021-03-16 15:27:06 +05:30
Shreya
ece4e6e911
Change import
2021-03-16 15:26:20 +05:30
Shreya
90d9d5933a
Handle UnicodeDecodeError when getting installed packages on Windows systems
2021-03-16 15:23:46 +05:30
VakarisZ
c6fd7ae5e8
Refactored ScoutSuite into a separate package rather than submodule
2021-03-16 09:11:45 +02:00
Shreya
2b4fd9e9a7
Rephrase custom PBA command config descriptions
2021-03-11 19:39:57 +05:30
Shreya
4928109be2
Rephrase custom PBA file config descriptions
2021-03-11 18:42:01 +05:30
Shreya
9167aa6460
Unit test modifications
2021-03-11 18:33:48 +05:30
Shreya
72a88c81a3
Add unit tests
2021-03-11 18:33:48 +05:30
Shreya
6f134bdb03
Download custom PBA file during execution, not initialisation
2021-03-11 18:33:48 +05:30
Shreya
eeba0513d2
Only upload custom PBA file; execute only if specified in custom PBA command
2021-03-11 18:33:48 +05:30
Shreya
307e1e3093
Rephrase custom PBA file descriptions in configuration
2021-03-11 18:33:48 +05:30
Mike Salvatore
3714dd2f6f
agent: Use the dropper in the DrupalExploiter
...
Fixes #1026
2021-03-10 06:44:53 -05:00
Mike Salvatore
e7528e9544
agent: Use PIPE for stdin, stdout, and stderr in dropper
...
The dropper is expected to detatch the child monkey agent process. If
stdin, stdout, and stderr are set to `None`, the child process inherits
them. Since the child process inherits the parent's file descriptors and
holds them open, issues like #1026 can occur.
2021-03-10 06:43:48 -05:00
Mike Salvatore
4ac7c01976
agent: add 2 new log statements to the dropper
2021-03-09 19:26:50 -05:00
Mike Salvatore
ba6bf71776
agent: Fix typo in HTTPFinger
2021-03-09 11:56:32 -05:00
VakarisZ
a132881ccc
Merge pull request #1022 from guardicore/zerologon-bb-test
...
Zerologon BB test
2021-03-08 13:59:16 +02:00
VakarisZ
263fa53ea5
Added an endpoint on the island for telemetry tests. This allows for tests like blackbox tests to send queries and check whether a certain telemetry is in the database or not
2021-03-08 11:13:31 +02:00
VakarisZ
3f687f6aea
Moved common config value paths to common
2021-03-08 11:06:18 +02:00
Mike Salvatore
5e21ff88cb
ui: minor style changes in AdvancedMultiSelect
2021-03-05 12:35:17 -05:00
Mike Salvatore
793bb99309
ui: properly render master checkbox on import or reset
...
Fixes #1018
2021-03-05 12:34:46 -05:00
Mike Salvatore
43c5834d51
cc: add useful debug logging that explains errors in HTTPFinger
2021-03-05 10:06:27 -05:00
VakarisZ
8de21df309
Merge pull request #1015 from guardicore/release_crypto_package_requirement
...
Fixed cryptography requirement
2021-03-04 11:25:09 +02:00
VakarisZ
9fb0a5628d
Fixed cryptography requirement for infection monkey, latest one doesn't have a pre-built wheel
2021-03-04 10:46:05 +02:00
Mike Salvatore
5bdb526db3
Merge pull request #1013 from guardicore/scoutsuite_docs
...
Scoutsuite docs
2021-03-03 11:51:29 -05:00
Shreya
243e077687
Remove accidental debug statement
2021-03-03 18:59:47 +05:30
Mike Salvatore
d60ce37c5d
cc: use fresh mongomock in each report test
2021-03-03 08:22:32 -05:00
Shreya
d772760ace
Add unit tests for get_stolen_creds()
2021-03-03 17:08:36 +05:30
Shreya
eecee86d92
Remove preceeding underscore from variables
2021-03-03 15:09:01 +05:30
Shreya
8d2e530eaa
Show IP if domain name isn't available
2021-03-03 15:09:01 +05:30
Shreya
1528b00a1b
Change origin of creds stolen using exploits from host machine to exploited machine
2021-03-03 15:09:01 +05:30
VakarisZ
eb41376f53
Merge pull request #1014 from guardicore/scoutsuite_submodule_retargetting
...
Re-targeted scoutsuite submodule to use latest commit
2021-03-03 11:33:06 +02:00