From 70186a40f60b98fd22ab31d17599521c495fd75c Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Tue, 29 Mar 2022 17:13:44 +0530 Subject: [PATCH] Agent: Remove comment from function in backdoor user PBA since the code is self-explanatory --- .../post_breach/actions/communicate_as_backdoor_user.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/monkey/infection_monkey/post_breach/actions/communicate_as_backdoor_user.py b/monkey/infection_monkey/post_breach/actions/communicate_as_backdoor_user.py index 4dca6ac06..e4523f0fd 100644 --- a/monkey/infection_monkey/post_breach/actions/communicate_as_backdoor_user.py +++ b/monkey/infection_monkey/post_breach/actions/communicate_as_backdoor_user.py @@ -90,13 +90,6 @@ class CommunicateAsBackdoorUser(PBA): @staticmethod def _get_result_for_telemetry(exit_status, commandline, username): - """ - Parses the result of the command and returns it to be sent as telemetry from the master. - - :param exit_status: In both Windows and Linux, 0 exit code indicates success. - :param commandline: Exact commandline which was executed, for reporting back. - :param username: Username from which the command was executed, for reporting back. - """ if exit_status == 0: result = (CREATED_PROCESS_AS_USER_SUCCESS_FORMAT.format(commandline, username), True) else: