Skip to content

Commit 1f1c558

Browse files
committed
Island: Remove HTTP_PORTS from top-level agent configuration
Resolves #2028
1 parent fd36aca commit 1f1c558

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ Changelog](https://keepachangelog.com/en/1.0.0/).
3838
- Update MongoDB version to 4.4.x. #1924
3939
- Endpoint to get agent binaries from "/api/agent/download/<string:os>" to
4040
"/api/agent-binaries/<string:os>". #1978
41-
- Agent configuration structure. #1996, #1998, #1961, #1997, #1994, #1741, #1761, #1695, #1605
41+
- Agent configuration structure. #1996, #1998, #1961, #1997, #1994, #1741,
42+
#1761, #1695, #1605, #2028
4243

4344
### Removed
4445
- VSFTPD exploiter. #1533

monkey/monkey_island/cc/services/config.py

+4
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,10 @@ def format_flat_config_for_agent():
357357
ConfigService._format_payloads_from_flat_config(config)
358358
ConfigService._format_pbas_from_flat_config(config)
359359
ConfigService._format_propagation_from_flat_config(config)
360+
361+
# Ok, I'll admit this is just sort of jammed in here. But this code is going away very soon.
362+
del config["HTTP_PORTS"]
363+
360364
return config
361365

362366
@staticmethod

0 commit comments

Comments
 (0)