monkey/monkey
Mike Salvatore 8f53a5ccd0 Agent: Fix min_range in get_free_tcp_port()
get_free_tcp_port() effectively ignored the min_range parameter by using
min(1, min_range). This meant that min_range was always 1 (unless a
negative value was passed). As ports lower than 1024 are privileged on
Linux, this lead to the agent trying to bind to ports that it did not
have permission to. By using max(1, min_range), We insure that min_range
is always at least 1, but will still use the provided parameter (1024 by
default).
2022-01-12 12:20:32 -05:00
..
common Project: bump version numbers from 1.11.0 to 1.12.0 for release 2021-10-22 13:52:11 +03:00
infection_monkey Agent: Fix min_range in get_free_tcp_port() 2022-01-12 12:20:32 -05:00
monkey_island Island: Add info about Log4Shell to config schema 2022-01-12 14:05:17 +05:30
tests Agent: Add unit tests for log4shell ldap server tree 2022-01-10 08:22:01 -05:00
.coveragerc ci: add .coveragerc to omit unit test code from coverage report 2021-01-17 20:20:06 -05:00
__init__.py Remove "__author__" lines from the source code 2021-07-28 12:43:28 -04:00
codecov.yml Updated codecov coloring. 2020-03-15 11:50:43 +02:00
infection_monkey.py String vs byte stream mixup bugs fixed 2019-09-20 18:07:17 +03:00
monkey_island.py island: Rename start_island() -> main() 2021-06-03 11:01:03 -04:00