Commit Graph

9303 Commits

Author SHA1 Message Date
Shreya Malviya 00626fe579 BB: Use agent configuration object to get target IPs in IslandConfigParser 2022-07-22 17:24:53 +00:00
Shreya Malviya 549a79ced4 BB: Update type hint to be more specific in CommunicationAnalyzer
Co-authored-by: Mike Salvatore <mike.s.salvatore@gmail.com>
2022-07-22 17:24:53 +00:00
Shreya Malviya db5187fc74 BB: Remove config templates 2022-07-22 17:24:53 +00:00
Shreya Malviya 1d45a15ea1 BB: Remove config_generation_script.py 2022-07-22 17:24:53 +00:00
Shreya Malviya c6c38ac008 BB: Add type hints in CommunicationAnalyzer 2022-07-22 17:24:53 +00:00
Shreya Malviya c9b10bfc3f BB: Fix API endpoints in MonkeyIslandClient 2022-07-22 17:24:53 +00:00
Shreya Malviya f0993d94cf BB: Rename raw_config -> serialized_config everywhere 2022-07-22 17:24:53 +00:00
Shreya Malviya 690fb71e10 BB: Rename get_ips_of_targets() -> get_target_ips_from_serialized_config() and pass correct arguments 2022-07-22 17:24:53 +00:00
Shreya Malviya c6ffd16e48 BB: Modify IslandConfigParser.get_ips_of_targets() logic per new configuration 2022-07-22 17:24:53 +00:00
Shreya Malviya 5d9e525ecc BB: Remove unused apply_template_to_config() from IslandConfigParser 2022-07-22 17:24:53 +00:00
Shreya Malviya 7d98d14d3a BB: Use IslandConfigParser.get_serialized_config() in test_blackbox.py 2022-07-22 17:24:53 +00:00
Shreya Malviya c509b1390a BB: Remove unused parameter in get_serialized_config() in IslandConfigParser 2022-07-22 17:24:53 +00:00
Shreya Malviya 6bda56f30c BB: Replace config templates with configuration objects in test_blackbox.py 2022-07-22 17:24:53 +00:00
Shreya Malviya d5736df56d BB: Modify IslandConfigParser to return serialized config 2022-07-22 17:24:53 +00:00
Shreya Malviya f99ad90371 BB: Reorder test configuration imports so they're alphabetical 2022-07-22 17:24:53 +00:00
Mike Salvatore 5e19abbe54 Island: Add some comments/TODOs to /api/island-mode 2022-07-22 08:48:17 -04:00
Mike Salvatore 46bcfe7619 Revert "Island: Add note about 401 for invalid credentials"
This reverts commit 5938382627.
2022-07-22 08:31:48 -04:00
Mike Salvatore 5938382627 Island: Add note about 401 for invalid credentials 2022-07-22 08:18:01 -04:00
Mike Salvatore f086637758
Merge pull request #2096 from guardicore/1965-credentials-in-config
1965 credentials in config
2022-07-21 10:52:01 -04:00
Ilija Lazoroski a40d633fe8 UI: Removing logging in ImportConfigModal 2022-07-21 15:59:17 +02:00
Ilija Lazoroski 8f417f52ce UI: Remove unneeded variable data 2022-07-21 15:18:46 +02:00
Ilija Lazoroski 24397ce3ea UI: Add http_ports to properties of exploitation 2022-07-21 15:16:37 +02:00
Ilija Lazoroski 261eb3828e UI: Simplify configuraton exporting 2022-07-21 15:06:25 +02:00
Ilija Lazoroski 89299bac6d Island: Change PATCH to PUT in propagation_credentials resource
* Add support to put stolen credentials
2022-07-21 14:48:20 +02:00
Ilija Lazoroski 45884ff233 Agent: Use response.json() in ControlChannel 2022-07-21 14:46:49 +02:00
Ilija Lazoroski 282b8bbed2 UI: Remove console logging from ReformatHook 2022-07-21 13:51:27 +02:00
Ilija Lazoroski b8c253c3e0 UI: Add state credentials to ExprotConfigModal
* Delete a advanced key from config
2022-07-21 13:49:31 +02:00
Ilija Lazoroski c5c0fe2302 UI: Fix formatting of credentials 2022-07-21 13:49:03 +02:00
Mike Salvatore 998d33a22c Project: Update python to 3.7.9 for Windows travisci job 2022-07-21 07:46:31 -04:00
Ilija Lazoroski 7769ec4aa3 UI: Fix Import Config to use the new configuration 2022-07-21 13:46:25 +02:00
Ilija Lazoroski ba05058ec2 UI: Fix Export Config to use the new configuration 2022-07-21 13:45:45 +02:00
Ilija Lazoroski fec3df937b UI: Add SensitiveTextInput to Passwords, LM and NTLM credentials input 2022-07-21 11:15:15 +02:00
Ilija Lazoroski 9fdbcc441d UI: Check if any of the credentials are not null 2022-07-21 10:53:08 +02:00
Ilija Lazoroski 47f78d1a2d Agent: Use response.text in ControlChannel 2022-07-21 10:52:35 +02:00
Ilija Lazoroski 6d372485fc UI: Reformat advanced.keep_tunnel_open_time 2022-07-21 10:10:57 +02:00
Ilija Lazoroski 4f4bba23cf UI: Use simplified credentials in ReformatHook.js 2022-07-21 10:10:57 +02:00
Ilija Lazoroski 3b691b5c7d UI: Fingerprinter options needs to be mappings 2022-07-21 10:10:57 +02:00
Ilija Lazoroski 40cb73e7e8 UI: Fix up wrong message when submitting config 2022-07-21 10:10:57 +02:00
Ilija Lazoroski d09958e079 UI: Clean up PropagationConfig 2022-07-21 10:10:57 +02:00
Ilija Lazoroski cea1d1fa28 UI: Add fix for propagation tabs change 2022-07-21 10:10:57 +02:00
Ilija Lazoroski 7c9a95100a UI: Fix credentials url in ConfigurePage 2022-07-21 10:10:57 +02:00
Ilija Lazoroski 55f95891e1 Island: Fix minor things in MongoCredentialsRepository and credentials
endpoint
2022-07-21 10:10:57 +02:00
vakarisz 0cee5ac00d UI: Separate credential configuration and config 2022-07-21 10:10:57 +02:00
vakarisz 47a87e14e6 Island: Add a patch method for PropagationConfig
Patch method is required to change the whole collection with one request. We need to change all configured credentials for configuration use case
2022-07-21 10:10:57 +02:00
vakarisz 4b0f56d8d8 Island: Fix mongo_credentials_repository.py to use correct database 2022-07-21 10:10:57 +02:00
Shreya Malviya 9acc249d48
Merge pull request #2101 from guardicore/2092-rebuild-test-configurations
2092 rebuild test configurations
2022-07-21 13:04:54 +05:30
Mike Salvatore c8ae719631 Island: Remove empty mode subpackage 2022-07-20 14:54:20 -04:00
Mike Salvatore db9238826f Island: Remove empty config_schema subpackage 2022-07-20 14:53:40 -04:00
Mike Salvatore fde69c7297 Island: Remove empty authentication subpackage 2022-07-20 14:52:22 -04:00
Mike Salvatore f049688160 BB: Add smb_download_timeout to test_configurations 2022-07-20 07:48:06 -04:00