From d672fcfffe39e9fe25d852e51256d0cb572b571d Mon Sep 17 00:00:00 2001 From: Ilija Lazoroski Date: Mon, 15 Aug 2022 19:10:05 +0200 Subject: [PATCH] Agent: Fix a typo in ssh_handler --- .../credential_collectors/ssh_collector/ssh_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/infection_monkey/credential_collectors/ssh_collector/ssh_handler.py b/monkey/infection_monkey/credential_collectors/ssh_collector/ssh_handler.py index 272b34edb..b671cdaf1 100644 --- a/monkey/infection_monkey/credential_collectors/ssh_collector/ssh_handler.py +++ b/monkey/infection_monkey/credential_collectors/ssh_collector/ssh_handler.py @@ -110,7 +110,7 @@ def _get_ssh_files( collected_credentials = Credentials( identity=Username(info["name"]), - secrets=SSHKeypair( + secret=SSHKeypair( info["private_key"], info["public_key"] ), )