monkey icon indicating copy to clipboard operation
monkey copied to clipboard

SSH key pair list is not showing output

Open ilija-lazoroski opened this issue 4 years ago • 2 comments

Describe the bug

When running an Island and SSH exploiter in Internal --> Exploits, SSH key pair list is showing [object Object].

To Reproduce

Steps to reproduce the behavior:

  1. Configure Monkey with just SSH exploiter
  2. Run the monkey on Linux Machine
  3. Observe SSH key pair list in Internal --> Exploits

Expected behavior

It should be showing a string of SSH key pair list.

Screenshots

image

Machine version (please complete the following information):

  • OS: Linux

ilija-lazoroski avatar Aug 18 '21 09:08 ilija-lazoroski

The bug is coming from process_ssh_info in monkey_island\cc\services\telemetry\processing\system_info.py in which we are adding to the config an object consisted of public_key, private_key, username and ip which is then rendered as [object Object] in InternalConfig.js. Thanks to @shreyamalviya .

ilija-lazoroski avatar Aug 18 '21 11:08 ilija-lazoroski

In the documentation we explain that the ssh key will not be shown. image

ilija-lazoroski avatar Aug 24 '21 10:08 ilija-lazoroski

Fixed by 41feb24cd6dc0036226da47855228d49884f1731

mssalvatore avatar Feb 08 '23 15:02 mssalvatore