forked from p15670423/monkey
Agent: Reformat long line in CommunicateAsBackdoorUser
This commit is contained in:
parent
0635169362
commit
9c352c1b1f
|
@ -43,8 +43,10 @@ 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(
|
||||
INFECTION_MONKEY_WEBSITE_URL
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue