forked from p15670423/monkey
Agent: Reformat long line in CommunicateAsBackdoorUser
This commit is contained in:
parent
0635169362
commit
9c352c1b1f
|
@ -43,9 +43,11 @@ class CommunicateAsBackdoorUser(PBA):
|
|||
try:
|
||||
password = get_random_password()
|
||||
with create_auto_new_user(username, password) as new_user:
|
||||
http_request_commandline = CommunicateAsBackdoorUser.get_commandline_for_http_request(
|
||||
http_request_commandline = (
|
||||
CommunicateAsBackdoorUser.get_commandline_for_http_request(
|
||||
INFECTION_MONKEY_WEBSITE_URL
|
||||
)
|
||||
)
|
||||
exit_status = new_user.run_as(http_request_commandline)
|
||||
self.send_result_telemetry(exit_status, http_request_commandline, username)
|
||||
except subprocess.CalledProcessError as e:
|
||||
|
|
Loading…
Reference in New Issue